mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-05-25 04:33:43 +00:00
Fixes yet another testing issue with SQLite.
This commit is contained in:
parent
73538b84e5
commit
683b5463f1
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ class WriteTestCase(TransactionTestCase):
|
|||
with self.assertNumQueries(1):
|
||||
self.assertEqual(TestChild.objects.get(), t_child)
|
||||
|
||||
with self.assertNumQueries(1):
|
||||
with self.assertNumQueries(2 if is_sqlite else 1):
|
||||
TestParent.objects.filter(pk=t_child.pk).update(name='modified')
|
||||
|
||||
with self.assertNumQueries(1):
|
||||
|
|
|
|||
Loading…
Reference in a new issue