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_pre_save_untyped is time sensitive #2

Open
Wilfred opened this issue Dec 15, 2011 · 0 comments
Open

test_pre_save_untyped is time sensitive #2

Wilfred opened this issue Dec 15, 2011 · 0 comments

Comments

@Wilfred
Copy link
Member

Wilfred commented Dec 15, 2011

======================================================================
FAIL: test_pre_save_untyped (djangotoolbox.tests.EmbeddedModelFieldTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "<http://freedomfry.local:8080/job/Google%20Art%20Project/ws/djangotoolbox/tests.py",> line 269, in test_pre_save_untyped
   self.test_pre_save(field='simple_untyped')
 File "<http://freedomfry.local:8080/job/Google%20Art%20Project/ws/djangotoolbox/tests.py",> line 265, in test_pre_save
   self.assertEqualDatetime(getattr(instance, field).auto_now_add, auto_now_add)
 File "<http://freedomfry.local:8080/job/Google%20Art%20Project/ws/djangotoolbox/tests.py",> line 235, in assertEqualDatetime
   self.assertEqual(d1.replace(microsecond=0), d2.replace(microsecond=0))
AssertionError: datetime.datetime(2011, 12, 15, 6, 39, 55) != datetime.datetime(2011, 12, 15, 6, 39, 54)

The system the test ran on was rather slow it seems.

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

1 participant