Skip to content

Commit d411368

Browse files
committed
fix flake8 errors
1 parent 9deaa72 commit d411368

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_cache.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,9 @@ def test_multidb_sharding_no_invalidation(self):
602602
""" Test for no invalidation when sharding w/distinct PKs"""
603603
master_obj = User.objects.using('default').create(name='new-test-user')
604604
# if pks are the same, objects *will* be invalidated across DBs
605-
master_obj2 = User.objects.using('master2').create(pk=master_obj.pk+1, name='other-test-user')
606-
# prime the cache for the default DB
605+
master_obj2 = User.objects.using('master2').create(pk=master_obj.pk+1,
606+
name='other-test-user')
607+
# prime the cache for the default DB
607608
master_obj = User.objects.using('default').get(name='new-test-user')
608609
assert master_obj.from_cache is False
609610
master_obj = User.objects.using('default').get(name='new-test-user')

0 commit comments

Comments
 (0)