Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix test for non utc systems. #107

Merged
merged 1 commit into from
Feb 24, 2019

Conversation

berend
Copy link
Contributor

@berend berend commented Jan 28, 2019

strict_rfc3339.rfc3339_to_timestamp() is tz aware
datetime.datetime.fromtimestamp is not

this causes the test test_string_format_datetime to fail on
system that are not on utc

`strict_rfc3339.rfc3339_to_timestamp()` is tz aware
`datetime.datetime.fromtimestamp` is not

this causes  the test `test_string_format_datetime` to fail on
system that are not on utc
@berend berend force-pushed the bugfix/fix_test_for_non_utc branch from 02ed40f to f08257b Compare January 28, 2019 13:43
@codecov
Copy link

codecov bot commented Jan 28, 2019

Codecov Report

Merging #107 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   96.32%   96.32%           
=======================================
  Files          54       54           
  Lines        1441     1441           
=======================================
  Hits         1388     1388           
  Misses         53       53
Impacted Files Coverage Δ
openapi_core/schema/schemas/util.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db5d825...f08257b. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jan 28, 2019

Codecov Report

Merging #107 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   96.32%   96.32%           
=======================================
  Files          54       54           
  Lines        1441     1441           
=======================================
  Hits         1388     1388           
  Misses         53       53
Impacted Files Coverage Δ
openapi_core/schema/schemas/util.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db5d825...f08257b. Read the comment docs.

@p1c2u
Copy link
Collaborator

p1c2u commented Feb 24, 2019

@berend thank you for the contribution.

@p1c2u p1c2u merged commit 698706d into python-openapi:master Feb 24, 2019
bjmc pushed a commit to bjmc/openapi-core that referenced this pull request Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants