Changeset 7238 for main/waeup.sirp
- Timestamp:
- 29 Nov 2011, 07:07:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_authentication.py
r7193 r7238 36 36 ApplicantsAuthenticatorPlugin, WAeUPApplicantCredentialsPlugin, 37 37 ApplicantCredentials, AuthenticatedApplicantPrincipalFactory, 38 ApplicantPrincipalInfo, ApplicantPrincipal, ApplicantsAuth Utility)38 ApplicantPrincipalInfo, ApplicantPrincipal, ApplicantsAuthenticatorSetup) 39 39 40 40 … … 368 368 authenticatorPlugins = () 369 369 370 class ApplicantsAuth UtilityTests(FunctionalTestCase):370 class ApplicantsAuthenticatorSetupTests(FunctionalTestCase): 371 371 372 372 layer = FunctionalLayer … … 374 374 def test_ifaces(self): 375 375 # make sure we fullfill the interface promises 376 obj = ApplicantsAuth Utility()377 verify.verifyClass(IAuthPluginUtility, ApplicantsAuth Utility)376 obj = ApplicantsAuthenticatorSetup() 377 verify.verifyClass(IAuthPluginUtility, ApplicantsAuthenticatorSetup) 378 378 verify.verifyObject(IAuthPluginUtility, obj) 379 379 return … … 389 389 # make sure we can register additional components 390 390 pau = FakePAU() 391 result = ApplicantsAuth Utility().register(pau)391 result = ApplicantsAuthenticatorSetup().register(pau) 392 392 self.assertEqual( 393 393 result.credentialsPlugins, ('applicant_credentials',)) … … 399 399 # make sure we can unregister applicant auth components 400 400 pau = FakePAU() 401 util = ApplicantsAuth Utility()401 util = ApplicantsAuthenticatorSetup() 402 402 pau = util.register(pau) 403 403 result = util.unregister(pau)
Note: See TracChangeset for help on using the changeset viewer.