Skip to content

Commit

Permalink
refactor: create_users_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Nat754 committed Feb 20, 2024
1 parent a0f1c0b commit d1453ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/create_users_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def test_post_create_user_key_name_is_in_response(self, key_name):
@pytest.mark.parametrize('key_value', data.CREATE_USER)
@pytest.mark.xfail(reason='Bag')
def test_post_create_user_key_value_is_in_response(self, key_value):
allure.dynamic.title(f'1.4.{self.data.CREATE_USER.index(key_value) + 1} Check response has key value {key_value}')
allure.dynamic.title(f'1.4.{self.data.CREATE_USER.index(key_value) + 1} '
f'Check response has key value {key_value}')
headers = self.data.CREATE_USER
response = BaseRequests.post(url='api/users', headers=headers)
Assertions.assert_key_value_is_in_response(response, headers, key_value)
Expand Down

0 comments on commit d1453ac

Please sign in to comment.