fix tests

This commit is contained in:
Matthias 2021-10-08 22:24:07 +02:00
parent 9facef6a56
commit 207e6c29b9
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -14,9 +14,9 @@ import part.templatetags.plugin_extras as plugin_tags
class InvenTreePluginTests(TestCase):
""" Tests for InvenTreePlugin """
def setUp(self):
self.plugin = plugins.plugin.InvenTreePlugin()
self.plugin = plugin.plugin.InvenTreePlugin()
class NamedPlugin(plugins.plugin.InvenTreePlugin):
class NamedPlugin(plugin.plugin.InvenTreePlugin):
"""a named plugin"""
PLUGIN_NAME = 'abc123'