-
Notifications
You must be signed in to change notification settings - Fork 1
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
3 changed files
with
14 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,11 @@ def logged_in_client(client, app): | |
saved_producer = app.extensions["ctx"]["producers"].add(producer) | ||
|
||
user = User( | ||
"[email protected]", "test_provider", "test_logout_url", True, | ||
saved_producer | ||
"[email protected]", | ||
"test_provider", | ||
"test_logout_url", | ||
True, | ||
saved_producer, | ||
) | ||
saved_user = app.extensions["ctx"]["users"].add(user) | ||
login_user(saved_user) | ||
|
@@ -42,7 +45,9 @@ def test_column_maps_route_empty(logged_in_client): | |
|
||
|
||
def test_column_maps_route_has_two_column_maps(logged_in_client): | ||
nj = logged_in_client.application.extensions["ctx"]["producers"].get_by_name("New Jersey") | ||
nj = logged_in_client.application.extensions["ctx"]["producers"].get_by_name( | ||
"New Jersey" | ||
) | ||
cm = ColumnMap( | ||
"Test", | ||
nj, | ||
|
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 |
---|---|---|
|
@@ -24,8 +24,11 @@ def logged_in_client(client, app): | |
saved_producer = app.extensions["ctx"]["producers"].add(producer) | ||
|
||
user = User( | ||
"[email protected]", "test_provider", "test_logout_url", True, | ||
saved_producer | ||
"[email protected]", | ||
"test_provider", | ||
"test_logout_url", | ||
True, | ||
saved_producer, | ||
) | ||
saved_user = app.extensions["ctx"]["users"].add(user) | ||
login_user(saved_user) | ||
|