mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
also cover list API
This commit is contained in:
parent
a2331829c9
commit
9a9a7e0ff4
@ -534,6 +534,11 @@ class NotificationTest(TestCase):
|
|||||||
|
|
||||||
self.assertTrue(NotificationEntry.check_recent('test.notification', 1, delta))
|
self.assertTrue(NotificationEntry.check_recent('test.notification', 1, delta))
|
||||||
|
|
||||||
|
def test_api_list(self):
|
||||||
|
"""Test list URL"""
|
||||||
|
url = reverse('api-notifications-list')
|
||||||
|
self.get(url, expected_code=200)
|
||||||
|
|
||||||
|
|
||||||
class LoadingTest(TestCase):
|
class LoadingTest(TestCase):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user