diff options
author | Neil Williams <neil.williams@linaro.org> | 2015-11-26 08:30:15 +0000 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2015-11-26 08:30:15 +0000 |
commit | 1d77ec1c409d6723ed6b35a0a9f104176d033e67 (patch) | |
tree | af06a4bc9baad83e3ddeefca04b63a1074a88983 | |
parent | e1b93591d1f8c187a951d832f767a8c16c6192e5 (diff) |
Complete the fix for django1.8
Change-Id: I01fe2a7d94a51c50a7d7d20b1f66e6465a965e46
-rw-r--r-- | .gitreview | 1 | ||||
-rw-r--r-- | django_testscenarios/tests.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,4 +2,3 @@ host=review.linaro.org port=29418 project=lava/django-testscenarios - diff --git a/django_testscenarios/tests.py b/django_testscenarios/tests.py index c65b3f7..ebf68b3 100644 --- a/django_testscenarios/tests.py +++ b/django_testscenarios/tests.py @@ -61,6 +61,8 @@ class PlainDatabaseChecks(object): self.assertEqual(TestModel.objects.all().count(), 0) obj = TestModel.objects.create() self.assertEqual(TestModel.objects.all().count(), 1) + obj.delete() + self.assertEqual(TestModel.objects.all().count(), 0) def test_database_is_empty_at_start_of_test_first(self): self._do_check_for_database_state() |