reformat with latest black

This commit is contained in:
Bastien Gérard
2020-01-07 21:44:04 +01:00
parent 84f3dce492
commit e64a7a9448
3 changed files with 5 additions and 3 deletions

View File

@@ -554,7 +554,7 @@ class TestIndexes(unittest.TestCase):
incorrect_collation = {"arndom": "wrdo"}
with pytest.raises(OperationFailure) as exc_info:
BlogPost.objects.collation(incorrect_collation).count()
assert 'Missing expected field' in str(exc_info.value)
assert "Missing expected field" in str(exc_info.value)
query_result = BlogPost.objects.collation({}).order_by("name")
assert [x.name for x in query_result] == sorted(names)