@given(r"<STR_LIT>")<EOL>def given_i_am_logged_in(context, username):
user = get_user_model().objects.get(username=username)<EOL>context.apiClient.force_authenticate(user=user)<EOL>
:type username: str
:type context: behave.runner.Context