This commit is contained in:
Matthias 2022-05-11 23:46:41 +02:00
parent 8becad3c0a
commit c274228806
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -161,4 +161,4 @@ class InvenTreePluginTests(TestCase):
with self.assertRaises(DeprecationWarning):
self.assertEqual(self.plugin_old.name, 'OldPlugin')
# check default value is used
self.assertEqual(self.plugin_old.get_meta_value('ABC', __default='123'), '123')
self.assertEqual(self.plugin_old.get_meta_value('ABC', 'ABCD', '123'), '123')