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

Commit

Permalink
[bug] Removed 'Link' from base class
Browse files Browse the repository at this point in the history
  • Loading branch information
atb00ker committed Jun 4, 2020
1 parent 7b8dc21 commit 08f1b7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django_netjsongraph/tests/base/test_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from openwisp_utils.tests import catch_signal

from ...models import Link
from ...utils import link_status_changed


Expand Down Expand Up @@ -92,6 +91,6 @@ def test_status_change_signal_sent(self):
link.status = 'down'
link.save()
handler.assert_called_once_with(
link=link, sender=Link, signal=link_status_changed,
link=link, sender=self.link_model, signal=link_status_changed,
)
self.assertEqual(link.status, 'down')

0 comments on commit 08f1b7f

Please sign in to comment.