mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
PEP fix
This commit is contained in:
parent
c5fc8ba6ab
commit
b31c7ccd24
@ -25,7 +25,7 @@ class SimpleActionPluginTests(TestCase):
|
|||||||
def test_function(self):
|
def test_function(self):
|
||||||
"""check if functions work """
|
"""check if functions work """
|
||||||
# test functions
|
# test functions
|
||||||
response = self.client.post('/api/action/', data={'action': "simple", 'data': {'foo': "bar",}})
|
response = self.client.post('/api/action/', data={'action': "simple", 'data': {'foo': "bar", }})
|
||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
self.assertJSONEqual(
|
self.assertJSONEqual(
|
||||||
str(response.content, encoding='utf8'),
|
str(response.content, encoding='utf8'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user