mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-24 17:38:42 -06:00
[IMP] document_page_tag: black, isort, prettier
This commit is contained in:
parent
75885362f0
commit
978189d563
@ -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):
|
||||||
|
1
setup/document_page_tag/odoo/addons/document_page_tag
Symbolic link
1
setup/document_page_tag/odoo/addons/document_page_tag
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../document_page_tag
|
6
setup/document_page_tag/setup.py
Normal file
6
setup/document_page_tag/setup.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user