mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
fix test
This commit is contained in:
@ -16,6 +16,6 @@ class SampleIntegrationPluginTests(TestCase):
|
|||||||
|
|
||||||
def test_view(self):
|
def test_view(self):
|
||||||
"""check the function of the custom sample plugin """
|
"""check the function of the custom sample plugin """
|
||||||
response = self.client.get('/plugin/SampleIntegrationPlugin/ho/he/')
|
response = self.client.get('/plugin/sample/ho/he/')
|
||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
self.assertEqual(response.content, b'Hi there testuser this works')
|
self.assertEqual(response.content, b'Hi there testuser this works')
|
||||||
|
Reference in New Issue
Block a user