Skip to content

Commit

Permalink
Fix issue: user family name key
Browse files Browse the repository at this point in the history
  • Loading branch information
skasberger committed Jul 5, 2022
1 parent cae9fbb commit 3d94106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/dvtests/testing/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ def homepage_logged_in(request, homepage, config, users):
selenium = homepage
user_handle = request.param
user_pwd = users[user_handle]["password"]
user_name = (
users[user_handle]["given-name"] + " " + users[user_handle]["family-name"]
)
user_name = users[user_handle]["firstName"] + " " + users[user_handle]["lastName"]
user_auth = users[user_handle]["authentication"]
installation_config = read_json(
os.path.join(DEFAULT_DATAVERSE_CONFIG_DIR, "xpaths.json")
Expand Down
4 changes: 1 addition & 3 deletions src/dvtests/testing/default/test_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ def test_valid(
assert selenium.title == expected["title"]
assert (
navbar_user.text
== users[user_handle]["given-name"]
+ " "
+ users[user_handle]["family-name"]
== users[user_handle]["firstName"] + " " + users[user_handle]["lastName"]
)
# Cleanup

0 comments on commit 3d94106

Please sign in to comment.