From 40a8112ad117ed9bc21d65e77394a2f16c8f09b5 Mon Sep 17 00:00:00 2001 From: "budhraja.ankita" Date: Mon, 22 Apr 2024 02:59:52 -0700 Subject: [PATCH] test7 --- tasks/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/tests.py b/tasks/tests.py index b13b41b..61aac0a 100644 --- a/tasks/tests.py +++ b/tasks/tests.py @@ -55,7 +55,6 @@ def test_taskcount(self): 'description': "Test task count increase", 'completed': False }) - self.assertTrue(form.is_valid()) form.save() - self.assertEqual(Task.objects.count(), 1) + self.assertEqual(Task.objects.count(), 2)