From 7286281a0608c91b7bffb7b3cc9960decab19741 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 10 Nov 2020 07:14:38 +1100 Subject: [PATCH] Fix for unit testing --- InvenTree/common/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/common/tests.py b/InvenTree/common/tests.py index e0b6812f40..dcf37fb98d 100644 --- a/InvenTree/common/tests.py +++ b/InvenTree/common/tests.py @@ -69,4 +69,4 @@ class SettingsTest(TestCase): InvenTreeSetting.set_setting(key, value, self.user) - self.assertEqual(str(value), InvenTreeSetting.get_setting(key)) + self.assertEqual(value, InvenTreeSetting.get_setting(key))