예제 #1
0
 def test_that_should_be_loaded_return_true(self):
     config = {'ldap': {}}
     result = LDAPUser.should_be_loaded(config)
     assert_that(result, equal_to(False))
예제 #2
0
 def test_that_should_be_loaded_return_false_when_no_config(self):
     config = {}
     result = LDAPUser.should_be_loaded(config)
     assert_that(result, equal_to(False))