Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit 08f1b7f

Browse files
authored
[bug] Removed 'Link' from base class
1 parent 7b8dc21 commit 08f1b7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

django_netjsongraph/tests/base/test_link.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from openwisp_utils.tests import catch_signal
44

5-
from ...models import Link
65
from ...utils import link_status_changed
76

87

@@ -92,6 +91,6 @@ def test_status_change_signal_sent(self):
9291
link.status = 'down'
9392
link.save()
9493
handler.assert_called_once_with(
95-
link=link, sender=Link, signal=link_status_changed,
94+
link=link, sender=self.link_model, signal=link_status_changed,
9695
)
9796
self.assertEqual(link.status, 'down')

0 commit comments

Comments
 (0)