Skip to content

Commit

Permalink
[IMP] Better test name
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Oct 18, 2024
1 parent 6bb6c0d commit 6dad6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_rest_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_get_asset_should_return_200(self):
response = self._subject.get(f'/api/v2/assets/{asset_identifier}')
self.assertEqual(200, response.status_code)

def test_get_asset_should_return_404_when_it_was_deleted(self):
def test_get_asset_should_return_404_after_it_was_deleted(self):
case_identifier = self._subject.create_dummy_case()
body = {'asset_type_id': '1', 'asset_name': 'admin_laptop_test'}
response = self._subject.create(f'/api/v2/cases/{case_identifier}/assets', body).json()
Expand Down

0 comments on commit 6dad6b1

Please sign in to comment.