mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 12:18:25 -04:00
Add proper mocks for the test.
Updated the localhost in the environment_test file so that if the tests fail if a mock is missing.
This commit is contained in:
@@ -158,7 +158,8 @@ def test_route_permissions_for_choose_template(mocker,
|
||||
app_,
|
||||
api_user_active,
|
||||
service_one,
|
||||
mock_get_service_template):
|
||||
mock_get_service_templates):
|
||||
mocker.patch('app.job_api_client.get_job')
|
||||
with app_.test_request_context():
|
||||
validate_route_permission(
|
||||
mocker,
|
||||
|
||||
Reference in New Issue
Block a user