diff options
author | Clint Byrum <clint@fewbar.com> | 2015-05-26 15:20:51 -0700 |
---|---|---|
committer | Clint Byrum <clint@fewbar.com> | 2015-05-28 09:50:57 -0700 |
commit | 133501e69fcbf75724e59b7f20d5cc664d2bf121 (patch) | |
tree | 0641db086ceb7f523735bbd5e9f98d1ebbb8af16 /tests/test_62_vo.py | |
parent | 0e68174a9aa88bfaadd64cc03846babe129d8641 (diff) | |
download | pysaml2-133501e69fcbf75724e59b7f20d5cc664d2bf121.tar.gz |
Fix list assumption in virtual org tests
Diffstat (limited to 'tests/test_62_vo.py')
-rw-r--r-- | tests/test_62_vo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_62_vo.py b/tests/test_62_vo.py index 13050369..3acedaa9 100644 --- a/tests/test_62_vo.py +++ b/tests/test_62_vo.py @@ -33,7 +33,7 @@ class TestVirtualOrg(): conf.load_file("server_conf") self.sp = Saml2Client(conf) - vo_name = conf.vorg.keys()[0] + vo_name = list(conf.vorg.keys())[0] self.vo = conf.vorg[vo_name] add_derek_info(self.sp) @@ -62,7 +62,7 @@ class TestVirtualOrg_2(): def setup_class(self): conf = config.SPConfig() conf.load_file("server_conf") - vo_name = conf.vorg.keys()[0] + vo_name = list(conf.vorg.keys())[0] self.sp = Saml2Client(conf, virtual_organization=vo_name) add_derek_info(self.sp) |