mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
PEP fix
This commit is contained in:
parent
023ff3c85a
commit
3a1996dd48
@ -13,7 +13,3 @@ repos:
|
|||||||
rev: '4.0.1'
|
rev: '4.0.1'
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
- repo: https://github.com/pycqa/isort
|
|
||||||
rev: '5.10.1'
|
|
||||||
hooks:
|
|
||||||
- id: isort
|
|
||||||
|
@ -20,6 +20,7 @@ class CompanyViewTestBase(InvenTreeTestCate):
|
|||||||
'all',
|
'all',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
class CompanyViewTest(CompanyViewTestBase):
|
class CompanyViewTest(CompanyViewTestBase):
|
||||||
"""
|
"""
|
||||||
Tests for various 'Company' views
|
Tests for various 'Company' views
|
||||||
|
@ -22,6 +22,7 @@ class PartViewTestCase(TestCase):
|
|||||||
def setUp(self):
|
def setUp(self):
|
||||||
super().setUp()
|
super().setUp()
|
||||||
|
|
||||||
|
|
||||||
class PartListTest(PartViewTestCase):
|
class PartListTest(PartViewTestCase):
|
||||||
|
|
||||||
def test_part_index(self):
|
def test_part_index(self):
|
||||||
|
@ -262,7 +262,6 @@ class PanelMixinTests(TestCase):
|
|||||||
|
|
||||||
roles = ['all']
|
roles = ['all']
|
||||||
|
|
||||||
|
|
||||||
def test_installed(self):
|
def test_installed(self):
|
||||||
"""Test that the sample panel plugin is installed"""
|
"""Test that the sample panel plugin is installed"""
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ class StockViewTestCase(InvenTreeTestCate):
|
|||||||
|
|
||||||
roles = ['all']
|
roles = ['all']
|
||||||
|
|
||||||
|
|
||||||
class StockListTest(StockViewTestCase):
|
class StockListTest(StockViewTestCase):
|
||||||
""" Tests for Stock list views """
|
""" Tests for Stock list views """
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user