Skip to content

Commit

Permalink
Merge branch 'master' into issues/560-deactivating-device
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier authored Aug 28, 2024
2 parents b584a40 + f9839e5 commit fbb2bf7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions openwisp_monitoring/device/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1666,7 +1666,6 @@ def test_wifi_session_detail_404(self):
with self.assertNumQueries(2):
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
self.assertEqual(response.json(), {'detail': 'Not found.'})

def test_wifi_session_detail_get(self):
device = self._create_device()
Expand Down Expand Up @@ -1798,7 +1797,6 @@ def test_wifi_session_list_detail_multitenancy(self):
with self.assertNumQueries(4):
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
self.assertEqual(response.data['detail'], 'Not found.')

with self.subTest('Test wifi session list org member (403 forbidden)'):
self.client.force_login(org1_member)
Expand Down

0 comments on commit fbb2bf7

Please sign in to comment.