mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
Fixed error message
This commit is contained in:
@@ -111,7 +111,7 @@ def move_to_template_folder(service_id, target_template_folder_id=None):
|
||||
try:
|
||||
template_folder = dao_get_template_folder_by_id_and_service_id(template_folder_id, service_id)
|
||||
except NoResultFound:
|
||||
msg = 'Could not move to folder: No folder found with id {} for service {}'.format(
|
||||
msg = 'No folder found with id {} for service {}'.format(
|
||||
template_folder_id,
|
||||
service_id
|
||||
)
|
||||
|
||||
@@ -31,5 +31,5 @@ flake8 .
|
||||
display_result $? 1 "Code style check"
|
||||
|
||||
# run with four concurrent threads
|
||||
py.test --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml -n4 -v --maxfail=10
|
||||
py.test --disable-pytest-warnings --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml -n4 -v --maxfail=10
|
||||
display_result $? 2 "Unit tests"
|
||||
|
||||
Reference in New Issue
Block a user