Skip to content

Commit

Permalink
Test: Convert first and last to fullname (#162)
Browse files Browse the repository at this point in the history
* Test: Convert first and last to fullname

* Test: Create fullname
  • Loading branch information
carlosmondra committed Oct 6, 2023
1 parent 0556640 commit b1fb5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ class Helpers:
def create_user(email, first, last, alternates=[], institution=None):
client = openreview.Client(baseurl = 'http://localhost:3000')
assert client is not None, "Client is none"
res = client.register_user(email = email, first = first, last = last, password = Helpers.strong_password)
fullname = f'{first} {last}'
res = client.register_user(email=email, fullname=fullname, password=Helpers.strong_password)
username = res.get('id')
assert res, "Res i none"
profile_content={
Expand Down

0 comments on commit b1fb5f9

Please sign in to comment.