mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix docstrings
This commit is contained in:
parent
7063db7a32
commit
32918348b9
@ -83,7 +83,10 @@ class BaseNotificationTests(BaseNotificationIntegrationTest):
|
|||||||
class BulkNotificationMethodTests(BaseNotificationIntegrationTest):
|
class BulkNotificationMethodTests(BaseNotificationIntegrationTest):
|
||||||
|
|
||||||
def test_BulkNotificationMethod(self):
|
def test_BulkNotificationMethod(self):
|
||||||
"""ensure the implementation requirements are tested"""
|
"""
|
||||||
|
Ensure the implementation requirements are tested.
|
||||||
|
NotImplementedError needs to raise if the send_bulk() method is not set.
|
||||||
|
"""
|
||||||
|
|
||||||
class WrongImplementation(BulkNotificationMethod):
|
class WrongImplementation(BulkNotificationMethod):
|
||||||
METHOD_NAME = 'WrongImplementationBulk'
|
METHOD_NAME = 'WrongImplementationBulk'
|
||||||
@ -98,7 +101,10 @@ class BulkNotificationMethodTests(BaseNotificationIntegrationTest):
|
|||||||
class SingleNotificationMethodTests(BaseNotificationIntegrationTest):
|
class SingleNotificationMethodTests(BaseNotificationIntegrationTest):
|
||||||
|
|
||||||
def test_SingleNotificationMethod(self):
|
def test_SingleNotificationMethod(self):
|
||||||
"""ensure the implementation requirements are tested"""
|
"""
|
||||||
|
Ensure the implementation requirements are tested.
|
||||||
|
NotImplementedError needs to raise if the send() method is not set.
|
||||||
|
"""
|
||||||
|
|
||||||
class WrongImplementation(SingleNotificationMethod):
|
class WrongImplementation(SingleNotificationMethod):
|
||||||
METHOD_NAME = 'WrongImplementationSingle'
|
METHOD_NAME = 'WrongImplementationSingle'
|
||||||
|
Loading…
Reference in New Issue
Block a user