Fixed error message

This commit is contained in:
Rebecca Law
2018-11-09 16:40:58 +00:00
parent 591a2c897a
commit 68cea04210
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ def move_to_template_folder(service_id, target_template_folder_id=None):
try: try:
template_folder = dao_get_template_folder_by_id_and_service_id(template_folder_id, service_id) template_folder = dao_get_template_folder_by_id_and_service_id(template_folder_id, service_id)
except NoResultFound: 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, template_folder_id,
service_id service_id
) )

View File

@@ -31,5 +31,5 @@ flake8 .
display_result $? 1 "Code style check" display_result $? 1 "Code style check"
# run with four concurrent threads # 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" display_result $? 2 "Unit tests"