mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Fix tests
This commit is contained in:
		@@ -515,7 +515,7 @@ class WebhookMessageTests(TestCase):
 | 
				
			|||||||
        assert message.body == {"this": "is a message"}
 | 
					        assert message.body == {"this": "is a message"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class NotificationTest(TestCase):
 | 
					class NotificationTest(InvenTreeAPITestCase):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_check_notification_entries(self):
 | 
					    def test_check_notification_entries(self):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,10 +35,6 @@ class InvenTreePluginTests(TestCase):
 | 
				
			|||||||
        """check if a basic plugin is active"""
 | 
					        """check if a basic plugin is active"""
 | 
				
			||||||
        self.assertEqual(self.plugin.is_active(), False)
 | 
					        self.assertEqual(self.plugin.is_active(), False)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_mixins(self):
 | 
					 | 
				
			||||||
        """check if mixins fnc works"""
 | 
					 | 
				
			||||||
        self.assertEqual(self.named_plugin.mixins(), {})
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
class PluginTagTests(TestCase):
 | 
					class PluginTagTests(TestCase):
 | 
				
			||||||
    """ Tests for the plugin extras """
 | 
					    """ Tests for the plugin extras """
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user