Fixes test logic.

This commit is contained in:
Florent
2014-02-27 11:31:16 +01:00
parent 99d50e1205
commit 3a832691d1

View File

@@ -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()