diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1dc2ba3f70..48e530b22b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,3 @@ repos: rev: '4.0.1' hooks: - id: flake8 -- repo: https://github.com/pycqa/isort - rev: '5.10.1' - hooks: - - id: isort diff --git a/InvenTree/company/test_views.py b/InvenTree/company/test_views.py index 036bf76916..38957f2e4a 100644 --- a/InvenTree/company/test_views.py +++ b/InvenTree/company/test_views.py @@ -20,6 +20,7 @@ class CompanyViewTestBase(InvenTreeTestCate): 'all', ] + class CompanyViewTest(CompanyViewTestBase): """ Tests for various 'Company' views diff --git a/InvenTree/part/test_views.py b/InvenTree/part/test_views.py index 9ce25b79e7..2971c032e0 100644 --- a/InvenTree/part/test_views.py +++ b/InvenTree/part/test_views.py @@ -22,6 +22,7 @@ class PartViewTestCase(TestCase): def setUp(self): super().setUp() + class PartListTest(PartViewTestCase): def test_part_index(self): diff --git a/InvenTree/plugin/base/integration/test_mixins.py b/InvenTree/plugin/base/integration/test_mixins.py index bedfe0420c..d9be17fde0 100644 --- a/InvenTree/plugin/base/integration/test_mixins.py +++ b/InvenTree/plugin/base/integration/test_mixins.py @@ -262,7 +262,6 @@ class PanelMixinTests(TestCase): roles = ['all'] - def test_installed(self): """Test that the sample panel plugin is installed""" diff --git a/InvenTree/stock/test_views.py b/InvenTree/stock/test_views.py index 8e304ee322..ab9b467672 100644 --- a/InvenTree/stock/test_views.py +++ b/InvenTree/stock/test_views.py @@ -20,6 +20,7 @@ class StockViewTestCase(InvenTreeTestCate): roles = ['all'] + class StockListTest(StockViewTestCase): """ Tests for Stock list views """