I have ran into an issue with rendering templates. Basically flask can find the template just fine, but tox cannot when ran:
TemplateNotFound: folder_a/file_a.html
@flask_blueprint_name.route('/')
def hello():
return render_template('folder_a/file_a.html')
The file directory is as follows: /folder_a/views.py <- This contains the hello function /templates/folder_a/file_a.html <- This contains the template
The flask installation can find the template and displays it correctly, however running tox -r cannot find the template and i get the above error. Please help me test functions with render_template...