this was for finding a testing error

This commit is contained in:
Matthias 2021-11-15 02:11:28 +01:00
parent 84ea56a8f2
commit 35e211e330
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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')