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

Test failure in test_character.py: Mismatching achievement dates? #14

Open
paca-project opened this issue Jul 24, 2011 · 2 comments
Open

Comments

@paca-project
Copy link
Contributor

Test failure in test_character.py: Mismatching achievement dates?

File "test_character.py", line 104, in test_achievements
self.assertEqual(character.achievements[513], datetime.datetime(2011, 1, 25, 12, 22, 8))
AssertionError: datetime.datetime(2011, 1, 25, 15, 22, 8) != datetime.datetime(2011, 1, 25, 12, 22, 8)

@paca-project
Copy link
Contributor Author

According to the comments by Crote in the following thread this is a bug in the test case, not the library:
5394d64

Perhaps the test case needs to adjust for varying time zones (convert everything to GMT?) before comparing?

@Crote
Copy link
Contributor

Crote commented Aug 14, 2011

As stated by http://www.wowpedia.org/Server:Nazjatar_US , the server used runs in the Pacific time zone.
The -7h offset in the Armory timestamp, which happens to be in GMT, fits in nicely with the -7 offset for PDT.

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

No branches or pull requests

2 participants