-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
44 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
{"name": "abc", "phone": "123-456-7890", "email": "[email protected]"}, | ||
{"name": "Jane Doe", "phone": "111-222-3333", "email": "[email protected]"}, | ||
], | ||
"active": True | ||
"active": True, | ||
} | ||
|
||
MOCK_INFO1_CAMEL = { | ||
|
@@ -43,7 +43,7 @@ | |
{"name": "abc", "phone": "123-456-7890", "email": "[email protected]"}, | ||
{"name": "Jane Doe", "phone": "111-222-3333", "email": "[email protected]"}, | ||
], | ||
"active": True | ||
"active": True, | ||
} | ||
|
||
MOCK_INFO2_SNAKE = { | ||
|
@@ -68,7 +68,7 @@ | |
{"name": "def", "phone": "098-765-4321", "email": "[email protected]"}, | ||
{"name": "John Doe", "phone": "444-555-6666", "email": "[email protected]"}, | ||
], | ||
"active": True | ||
"active": True, | ||
} | ||
|
||
MOCK_INFO2_CAMEL = { | ||
|
@@ -93,7 +93,7 @@ | |
{"name": "def", "phone": "098-765-4321", "email": "[email protected]"}, | ||
{"name": "John Doe", "phone": "444-555-6666", "email": "[email protected]"}, | ||
], | ||
"active": True | ||
"active": True, | ||
} | ||
|
||
MOCK_INFO3_SNAKE = { | ||
|
@@ -112,7 +112,7 @@ | |
{"name": "ghi", "phone": "135-792-4680", "email": "[email protected]"}, | ||
{"name": "Jack Doe", "phone": "777-888-999", "email": "[email protected]"}, | ||
], | ||
"active": False | ||
"active": False, | ||
} | ||
|
||
MOCK_INFO3_CAMEL = { | ||
|
@@ -131,7 +131,7 @@ | |
{"name": "ghi", "phone": "135-792-4680", "email": "[email protected]"}, | ||
{"name": "Jack Doe", "phone": "777-888-999", "email": "[email protected]"}, | ||
], | ||
"active": False | ||
"active": False, | ||
} | ||
|
||
MOCK_USER1_SNAKE = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
{"name": "Abu", "phone": "123-456-7890", "email": "[email protected]"}, | ||
{"name": "Jane Doe", "phone": "111-222-3333", "email": "[email protected]"}, | ||
], | ||
"active": True | ||
"active": True, | ||
} | ||
|
||
|
||
|
@@ -97,7 +97,4 @@ def test_create_onboarding_request(): | |
onboarding_request.info.onsite_contacts[i].email | ||
== test_user_info["onsite_contacts"][i]["email"] | ||
) | ||
assert ( | ||
onboarding_request.info.active | ||
== test_user_info["active"] | ||
) | ||
assert onboarding_request.info.active == test_user_info["active"] |