diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py
index e46fdab..7ad5e4f 100644
a
|
b
|
class FTimeDeltaTests(TestCase):
|
1043 | 1043 | ).order_by('name') |
1044 | 1044 | self.assertQuerysetEqual(over_estimate, ['e3', 'e4'], lambda e: e.name) |
1045 | 1045 | |
| 1046 | def test_negative_timedelta_update(self): |
| 1047 | experiments = Experiment.objects.update(start=F('assigned') + datetime.timedelta(days=-2)) |
| 1048 | e0 = Experiment.objects.get(name='e0') |
| 1049 | self.assertEqual(e0.assigned, datetime.date(2010, 6, 24)) |
| 1050 | |
1046 | 1051 | |
1047 | 1052 | class ValueTests(TestCase): |
1048 | 1053 | def test_update_TimeField_using_Value(self): |