Skip to content

Commit

Permalink
update tests to allow new datetime behavior in PyYAML 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dtkav committed Jan 15, 2020
1 parent f55cb1c commit b794aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_flask_encoder.py
Expand Up @@ -63,7 +63,7 @@ def get_value(data, path):
return data

example = get_value(spec_data, 'paths./datetime.get.{}.example.value'.format(response_path))
assert example == '2000-01-23T04:56:07.000008Z'
assert example == '2000-01-23T04:56:07.000008+00:00'
example = get_value(spec_data, 'paths./date.get.{}.example.value'.format(response_path))
assert example == '2000-01-23'
example = get_value(spec_data, 'paths./uuid.get.{}.example.value'.format(response_path))
Expand Down

0 comments on commit b794aac

Please sign in to comment.