mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-19 17:59:14 -06:00
[IMP] document_page_tag: black, isort, prettier
This commit is contained in:
parent
80241b7f04
commit
3d23ff932a
@ -11,7 +11,8 @@ class TestDocumentPageTag(TransactionCase):
|
||||
testtag = self.env["document.page.tag"].name_create("test")
|
||||
# check we're charitable on duplicates
|
||||
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
|
||||
with self.assertRaises(IntegrityError):
|
||||
|
Loading…
Reference in New Issue
Block a user