mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-20 02:06:45 -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")
|
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user