Remove unused test variable

This commit is contained in:
Patrick Jentsch 2020-02-07 16:24:15 +01:00
parent 81ca4ef12a
commit aa6ee42984

View File

@ -11,15 +11,15 @@ import os
SERVICES = {'corpus_analysis': {'name': 'Corpus analysis'},
'setup_files': {'name': 'Setup files',
'resources': {'mem_mb': 4096, 'n_cores': 4},
'add_job_form': AddSetupFilesJobForm},
'nlp': {'name': 'Natural Language Processing',
'resources': {'mem_mb': 4096, 'n_cores': 2},
'add_job_form': AddNLPJobForm},
'ocr': {'name': 'Optical Character Recognition',
'resources': {'mem_mb': 8192, 'n_cores': 4},
'add_job_form': AddOCRJobForm}}
'add_job_form': AddOCRJobForm},
'setup_files': {'name': 'Setup files',
'resources': {'mem_mb': 4096, 'n_cores': 4},
'add_job_form': AddSetupFilesJobForm}}
@services.route('/<service>', methods=['GET', 'POST'])
@ -74,6 +74,5 @@ def service(service):
return make_response(
{'redirect_url': url_for('jobs.job', job_id=job.id)}, 201)
return render_template('services/{}.html.j2'.format(service),
roadmap=True,
title=SERVICES[service]['name'],
add_job_form=add_job_form)