mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	add marker statment to wrong implementations
This commit is contained in:
		| @@ -27,7 +27,9 @@ class NotificationTests(BaseNotificationIntegrationTest): | ||||
|         """ensure the implementation requirements are tested""" | ||||
|  | ||||
|         class WrongImplementation(SingleNotificationMethod): | ||||
|             pass | ||||
|             def setup(self): | ||||
|                 print('running setup on WrongImplementation') | ||||
|                 return super().setup() | ||||
|  | ||||
|         with self.assertRaises(NotImplementedError): | ||||
|             self._notification_run() | ||||
| @@ -36,7 +38,9 @@ class NotificationTests(BaseNotificationIntegrationTest): | ||||
|         """ensure the implementation requirements are tested""" | ||||
|  | ||||
|         class WrongImplementation(BulkNotificationMethod): | ||||
|             pass | ||||
|             def setup(self): | ||||
|                 print('running setup on WrongImplementation') | ||||
|                 return super().setup() | ||||
|  | ||||
|         with self.assertRaises(NotImplementedError): | ||||
|             self._notification_run() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user