Skip to content

Commit d89992c

Browse files
author
Roland Hedberg
committed
Fixed file path problem if you run 'setup.py test'
1 parent bd95adf commit d89992c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_41_response.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# -*- coding: utf-8 -*-
33

44
from contextlib import closing
5-
from saml2.attribute_converter import to_local
6-
from saml2.samlp import response_from_string
75

86
from saml2 import config
97
from saml2.authn_context import INTERNETPROTOCOLPASSWORD
@@ -115,7 +113,7 @@ def test_false_sign(self):
115113
assert False
116114

117115
def test_other_response(self):
118-
xml_response = open("attribute_response.xml").read()
116+
xml_response = open(full_path("attribute_response.xml")).read()
119117
resp = response_factory(
120118
xml_response, self.conf,
121119
return_addrs=['https://myreviewroom.com/saml2/acs/'],

0 commit comments

Comments
 (0)