fix tests

This commit is contained in:
Matthias 2021-10-03 14:25:40 +02:00
parent 094feec495
commit fadf4d5ca8
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 2 additions and 2 deletions

View File

@ -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 """

View File

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