@then('I expect the response that says questions cannot be created and username is required in request')
def step_impl(context):
    assert (context.api_response_data['detail'] == 'Authentication credentials were not provided.')
@then('I expect the response that says questions cannot be created and username is required in request')
def step_impl(context):
    assert (context.api_response_data['detail'] == 'Authentication credentials were not provided.')