Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Nov 28, 2024
1 parent 509af8d commit 3fd7502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uniticket/api_rest/tests/test_01_basic_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_strutture_list(self):

# no auth
res = req.get(url)
self.assertEqual(res.status_code, 401)
self.assertEqual(res.status_code, 403)

# auth
res = req.get(url, **self.at.as_http_header)
Expand All @@ -140,7 +140,7 @@ def test_category_list(self):

# no auth
res = req.get(url)
self.assertEqual(res.status_code, 401)
self.assertEqual(res.status_code, 403)

# auth
res = req.get(url, **self.at.as_http_header)
Expand All @@ -159,7 +159,7 @@ def test_new_ticket(self):

# no auth
res = req.get(url)
self.assertEqual(res.status_code, 401)
self.assertEqual(res.status_code, 403)

# auth - GET
res = req.get(url, **self.at.as_http_header)
Expand Down

0 comments on commit 3fd7502

Please sign in to comment.