minor style cleanup
This commit is contained in:
parent
4dcc1c91c2
commit
faf4a7f166
|
@ -105,7 +105,8 @@ def test_request_path_to_instance_resource_path_subdir_index(app):
|
|||
def test_request_path_to_instance_resource_path_relatives_walked(app):
|
||||
"""Test a normal URL request is transformed into the file path."""
|
||||
with app.test_request_context():
|
||||
assert request_path_to_instance_resource_path('subdir/more-subdir/../../more-metadata') == 'pages/more-metadata.md'
|
||||
assert (request_path_to_instance_resource_path('subdir/more-subdir/../../more-metadata') ==
|
||||
'pages/more-metadata.md')
|
||||
|
||||
|
||||
def test_request_path_to_instance_resource_path_relatives_walked_indexes_work_too(app):
|
||||
|
|
Loading…
Reference in New Issue