mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix tests
This commit is contained in:
parent
094feec495
commit
fadf4d5ca8
@ -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 """
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user