mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
pep fix
This commit is contained in:
parent
c809398bda
commit
a6e889b25e
@ -143,7 +143,7 @@ class PluginDetailAPITest(InvenTreeAPITestCase):
|
|||||||
plg = fixtures.first()
|
plg = fixtures.first()
|
||||||
mixin_dict = plg.mixins()
|
mixin_dict = plg.mixins()
|
||||||
self.assertIn('base', mixin_dict)
|
self.assertIn('base', mixin_dict)
|
||||||
self.assertDictContainsSubset({'base':{'key':'base', 'human_name':'base'}}, mixin_dict)
|
self.assertDictContainsSubset({'base' :{'key' :'base', 'human_name': 'base'}}, mixin_dict)
|
||||||
|
|
||||||
# check reload on save
|
# check reload on save
|
||||||
with self.assertWarns(Warning) as cm:
|
with self.assertWarns(Warning) as cm:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user