mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
remove empty class
This commit is contained in:
@ -38,15 +38,6 @@ class BaseNotificationTests(BaseNotificationIntegrationTest):
|
|||||||
def send(self):
|
def send(self):
|
||||||
"""a comment so we do not need a pass"""
|
"""a comment so we do not need a pass"""
|
||||||
|
|
||||||
class WrongDeliveryImplementation(SingleNotificationMethod):
|
|
||||||
METHOD_NAME = 'WrongDeliveryImplementation'
|
|
||||||
|
|
||||||
def get_targets(self):
|
|
||||||
return [1, ]
|
|
||||||
|
|
||||||
def send(self, target):
|
|
||||||
return False
|
|
||||||
|
|
||||||
# no send / send bulk
|
# no send / send bulk
|
||||||
with self.assertRaises(NotImplementedError):
|
with self.assertRaises(NotImplementedError):
|
||||||
FalseNotificationMethod('', '', '', '', )
|
FalseNotificationMethod('', '', '', '', )
|
||||||
|
Reference in New Issue
Block a user