mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	make test more precise
This commit is contained in:
		| @@ -158,7 +158,7 @@ class InvenTreePluginTests(TestCase): | ||||
|         """Check if depreciations raise as expected""" | ||||
|  | ||||
|         # check deprecation warning is firing | ||||
|         with self.assertWarns(Warning): | ||||
|         with self.assertWarns(DeprecationWarning): | ||||
|             self.assertEqual(self.plugin_old.name, 'OldPlugin') | ||||
|             # check default value is used | ||||
|             self.assertEqual(self.plugin_old.get_meta_value('ABC', 'ABCD', '123'), '123') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user