diff --git a/InvenTree/plugins/samples/action/test_samples_action.py b/InvenTree/plugins/samples/action/test_samples_action.py index c0b3e8cd4b..865a7c10e9 100644 --- a/InvenTree/plugins/samples/action/test_samples_action.py +++ b/InvenTree/plugins/samples/action/test_samples_action.py @@ -16,7 +16,7 @@ class SimpleActionPluginTests(TestCase): self.client.login(username='testuser', password='password') - self.plugin = SimpleActionPlugin + self.plugin = SimpleActionPlugin() def test_name(self): """check plugn names """ diff --git a/InvenTree/plugins/samples/integration/test_samples_integration.py b/InvenTree/plugins/samples/integration/test_samples_integration.py index 678d011bf1..014ed9f543 100644 --- a/InvenTree/plugins/samples/integration/test_samples_integration.py +++ b/InvenTree/plugins/samples/integration/test_samples_integration.py @@ -18,4 +18,4 @@ class SampleIntegrationPluginTests(TestCase): """check the function of the custom sample plugin """ respone = self.client.get('/plugin/SampleIntegrationPlugin/ho/he/') self.assertEqual(respone.status_code, 200) - self.assertEqual(respone.content, b'Hi there testuser this work') + self.assertEqual(respone.content, b'Hi there testuser this works')