mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
add in missing class references
This commit is contained in:
parent
799af89312
commit
45a9a4d0c5
@ -1,12 +1,13 @@
|
|||||||
""" Unit tests for Part Views (see views.py) """
|
""" Unit tests for Part Views (see views.py) """
|
||||||
|
|
||||||
from django.test import TestCase
|
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
|
|
||||||
|
from InvenTree.helpers import InvenTreeTestCase
|
||||||
|
|
||||||
from .models import Part
|
from .models import Part
|
||||||
|
|
||||||
|
|
||||||
class PartViewTestCase(TestCase):
|
class PartViewTestCase(InvenTreeTestCase):
|
||||||
|
|
||||||
fixtures = [
|
fixtures = [
|
||||||
'category',
|
'category',
|
||||||
|
@ -7,6 +7,7 @@ from django.urls import include, re_path, reverse
|
|||||||
|
|
||||||
from error_report.models import Error
|
from error_report.models import Error
|
||||||
|
|
||||||
|
from InvenTree.helpers import InvenTreeTestCase
|
||||||
from plugin import InvenTreePlugin
|
from plugin import InvenTreePlugin
|
||||||
from plugin.helpers import MixinNotImplementedError
|
from plugin.helpers import MixinNotImplementedError
|
||||||
from plugin.mixins import (APICallMixin, AppMixin, NavigationMixin,
|
from plugin.mixins import (APICallMixin, AppMixin, NavigationMixin,
|
||||||
@ -250,7 +251,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase):
|
|||||||
self.mixin_wrong2.has_api_call()
|
self.mixin_wrong2.has_api_call()
|
||||||
|
|
||||||
|
|
||||||
class PanelMixinTests(TestCase):
|
class PanelMixinTests(InvenTreeTestCase):
|
||||||
"""Test that the PanelMixin plugin operates correctly"""
|
"""Test that the PanelMixin plugin operates correctly"""
|
||||||
|
|
||||||
fixtures = [
|
fixtures = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user