We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bfb406 commit dff287bCopy full SHA for dff287b
simple_history/tests/tests/test_manager.py
@@ -83,5 +83,6 @@ def test_create_and_delete(self):
83
def test_multiple(self):
84
document1 = models.Document.objects.create()
85
document2 = models.Document.objects.create()
86
- historical = models.Document.history.as_of(datetime.now() + timedelta(days=1))
+ historical = models.Document.history.as_of(datetime.now()
87
+ + timedelta(days=1))
88
self.assertEqual(list(historical), [document1, document2])
0 commit comments