aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_examples.py4
-rw-r--r--test/test_protocol_http.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 014b1d68..fa57b7eb 100644
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -3,8 +3,8 @@ import glob
from libmproxy.proxy import config
import tservers
-example_dir = utils.Data("libmproxy").path("../examples/")
-scripts = glob.glob("%s*.py" % example_dir)
+example_dir = utils.Data("libmproxy").path("../examples")
+scripts = glob.glob("%s/*.py" % example_dir)
tmaster = tservers.TestMaster(config.ProxyConfig())
diff --git a/test/test_protocol_http.py b/test/test_protocol_http.py
index 290d82a1..4026e79a 100644
--- a/test/test_protocol_http.py
+++ b/test/test_protocol_http.py
@@ -7,7 +7,7 @@ import tutils, tservers
def test_HttpAuthenticationError():
x = HttpAuthenticationError({"foo": "bar"})
assert str(x)
- assert "foo" in x.auth_headers
+ assert "foo" in x.headers
def test_stripped_chunked_encoding_no_content():