mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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) """
|
||||
|
||||
from django.test import TestCase
|
||||
from django.urls import reverse
|
||||
|
||||
from InvenTree.helpers import InvenTreeTestCase
|
||||
|
||||
from .models import Part
|
||||
|
||||
|
||||
class PartViewTestCase(TestCase):
|
||||
class PartViewTestCase(InvenTreeTestCase):
|
||||
|
||||
fixtures = [
|
||||
'category',
|
||||
|
@ -7,6 +7,7 @@ from django.urls import include, re_path, reverse
|
||||
|
||||
from error_report.models import Error
|
||||
|
||||
from InvenTree.helpers import InvenTreeTestCase
|
||||
from plugin import InvenTreePlugin
|
||||
from plugin.helpers import MixinNotImplementedError
|
||||
from plugin.mixins import (APICallMixin, AppMixin, NavigationMixin,
|
||||
@ -250,7 +251,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase):
|
||||
self.mixin_wrong2.has_api_call()
|
||||
|
||||
|
||||
class PanelMixinTests(TestCase):
|
||||
class PanelMixinTests(InvenTreeTestCase):
|
||||
"""Test that the PanelMixin plugin operates correctly"""
|
||||
|
||||
fixtures = [
|
||||
|
Loading…
Reference in New Issue
Block a user