Skip to content

Commit

Permalink
Additional modifications were made to test_import.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunoda-takahiro committed Jan 22, 2025
1 parent fb8a417 commit 2ab2daf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions role/tests/test_api_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def test_delete_without_permission(self):
resp = self.client.delete(f"/role/api/v2/{role.id}")
self.assertEqual(resp.status_code, 403)

@patch("role.tasks.import_role_v2.delay", Mock(side_effect=tasks.import_role_v2))
def test_import(self):
self.admin_login()

Expand Down

0 comments on commit 2ab2daf

Please sign in to comment.