[IMP] document_page_tag: black, isort, prettier

This commit is contained in:
angel 2022-03-15 13:22:29 +01:00 committed by Alberto Martínez
parent 80241b7f04
commit 3d23ff932a

View File

@ -11,7 +11,8 @@ class TestDocumentPageTag(TransactionCase):
testtag = self.env["document.page.tag"].name_create("test") testtag = self.env["document.page.tag"].name_create("test")
# check we're charitable on duplicates # check we're charitable on duplicates
self.assertEqual( self.assertEqual(
testtag, self.env["document.page.tag"].name_create("Test"), testtag,
self.env["document.page.tag"].name_create("Test"),
) )
# check we can't create nonunique tags # check we can't create nonunique tags
with self.assertRaises(IntegrityError): with self.assertRaises(IntegrityError):