@@ -125,21 +125,23 @@ def testGetCertPath(self):
125125 settings = OneLogin_Saml2_Settings (custom_base_path = self .settings_path )
126126 self .assertEqual (self .settings_path + sep + 'certs' + sep , settings .get_cert_path ())
127127
128- def testGetLibPath (self ):
128+ def testSetCertPath (self ):
129129 """
130- Tests getLibPath method of the OneLogin_Saml2_Settings
130+ Tests setCertPath method of the OneLogin_Saml2_Settings
131131 """
132132 settings = OneLogin_Saml2_Settings (custom_base_path = self .settings_path )
133- base = settings .get_base_path ()
134- self .assertEqual (join (base , 'lib' ) + sep , settings .get_lib_path ())
133+ self .assertEqual (self .settings_path + sep + 'certs' + sep , settings .get_cert_path ())
135134
136- def testGetExtLibPath (self ):
135+ settings .set_cert_path ('/tmp' )
136+ self .assertEqual ('/tmp' , settings .get_cert_path ())
137+
138+ def testGetLibPath (self ):
137139 """
138- Tests getExtLibPath method of the OneLogin_Saml2_Settings
140+ Tests getLibPath method of the OneLogin_Saml2_Settings
139141 """
140142 settings = OneLogin_Saml2_Settings (custom_base_path = self .settings_path )
141143 base = settings .get_base_path ()
142- self .assertEqual (join (base , 'extlib ' ) + sep , settings .get_ext_lib_path ())
144+ self .assertEqual (join (base , 'lib ' ) + sep , settings .get_lib_path ())
143145
144146 def testGetSchemasPath (self ):
145147 """
0 commit comments