mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
this was for finding a testing error
This commit is contained in:
parent
84ea56a8f2
commit
35e211e330
@ -17,8 +17,6 @@ class SampleIntegrationPluginTests(TestCase):
|
||||
|
||||
def test_view(self):
|
||||
"""check the function of the custom sample plugin """
|
||||
print(f'current testing settings: {settings.PLUGIN_TESTING}')
|
||||
self.assertTrue(settings.PLUGIN_TESTING)
|
||||
response = self.client.get('/plugin/sample/ho/he/')
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertEqual(response.content, b'Hi there testuser this works')
|
||||
|
Loading…
Reference in New Issue
Block a user