mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
fix doctest
This commit is contained in:
parent
442341de50
commit
039dbbbe7e
@ -209,7 +209,7 @@ class APICallMixinTest(BaseMixinDefinition, TestCase):
|
|||||||
self.assertTrue(result)
|
self.assertTrue(result)
|
||||||
self.assertIn('data', result,)
|
self.assertIn('data', result,)
|
||||||
|
|
||||||
# api_call without response
|
# api_call without json conversion
|
||||||
result = self.mixin.get_external_url(False)
|
result = self.mixin.get_external_url(False)
|
||||||
self.assertTrue(result)
|
self.assertTrue(result)
|
||||||
self.assertEqual(result.reason, 'OK')
|
self.assertEqual(result.reason, 'OK')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user