Index: tests/test_dynamic_server.py |
=================================================================== |
--- a/tests/test_dynamic_server.py |
+++ b/tests/test_dynamic_server.py |
@@ -32,6 +32,8 @@ |
@pytest.mark.slowtest |
def test_dynamic_werkzeug_good_page(dynamic_server_werkzeug): |
filename, expected_output = dynamic_expected_outputs[0] |
+ filename = os.path.join(os.path.split(os.path.split(filename)[0])[0], |
+ os.path.split(filename)[1]) |
response = urllib2.urlopen(dynamic_server_werkzeug + filename) |
assert expected_output in response.read().strip() |
@@ -49,6 +51,8 @@ |
@pytest.mark.slowtest |
def test_dynamic_builtins_good_page(dynamic_server_builtins): |
filename, expected_output = dynamic_expected_outputs[0] |
+ filename = os.path.join(os.path.split(os.path.split(filename)[0])[0], |
+ os.path.split(filename)[1]) |
response = urllib2.urlopen(dynamic_server_builtins + filename) |
assert expected_output in response.read().strip() |