Fixes test logic.
This commit is contained in:
@@ -39,9 +39,11 @@ class TestAC():
|
||||
for ac in self.acs:
|
||||
try:
|
||||
ava = ac.fro(ats)
|
||||
break
|
||||
except attribute_converter.UnknownNameFormat:
|
||||
pass
|
||||
# break if we have something
|
||||
if ava:
|
||||
break
|
||||
print ava.keys()
|
||||
assert _eq(ava.keys(), ['givenName', 'displayName', 'uid',
|
||||
'eduPersonNickname', 'street',
|
||||
@@ -207,4 +209,4 @@ if __name__ == "__main__":
|
||||
t = TestAC()
|
||||
t.setup_class()
|
||||
t.test_mixed_attributes_1()
|
||||
#test_noop_attribute_conversion()
|
||||
#test_noop_attribute_conversion()
|
||||
|
||||
Reference in New Issue
Block a user