Skip to content

test: correct key assertion from name to username in profile creation test - #86

Open
emre155 wants to merge 1 commit into
anxkhn:mainfrom
emre155:fix/profile-test-key-assertion
Open

test: correct key assertion from name to username in profile creation test#86
emre155 wants to merge 1 commit into
anxkhn:mainfrom
emre155:fix/profile-test-key-assertion

Conversation

@emre155

@emre155 emre155 commented Jul 18, 2026

Copy link
Copy Markdown

Summary

Fixes the profile creation test assertion key from name to username to match the actual API response schema and resolve the test failure (closes #6).

Changes

  • Updated assert response.json()["name"] == "alice" to assert response.json()["username"] == "alice" in tests/test_profile.py.

Signed-off-by: emreumar emreumar@users.noreply.github.com

… test

Signed-off-by: emreumar <emreumar@users.noreply.github.com>
@emre155
emre155 requested a review from anxkhn as a code owner July 18, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test checks wrong key 'name' instead of 'username' in profile response

2 participants