Changeset 7238 for main/waeup.sirp


Ignore:
Timestamp:
29 Nov 2011, 07:07:05 (13 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_authentication.py

    r7193 r7238  
    3636    ApplicantsAuthenticatorPlugin, WAeUPApplicantCredentialsPlugin,
    3737    ApplicantCredentials, AuthenticatedApplicantPrincipalFactory,
    38     ApplicantPrincipalInfo, ApplicantPrincipal, ApplicantsAuthUtility)
     38    ApplicantPrincipalInfo, ApplicantPrincipal, ApplicantsAuthenticatorSetup)
    3939
    4040
     
    368368    authenticatorPlugins = ()
    369369
    370 class ApplicantsAuthUtilityTests(FunctionalTestCase):
     370class ApplicantsAuthenticatorSetupTests(FunctionalTestCase):
    371371
    372372    layer = FunctionalLayer
     
    374374    def test_ifaces(self):
    375375        # make sure we fullfill the interface promises
    376         obj = ApplicantsAuthUtility()
    377         verify.verifyClass(IAuthPluginUtility, ApplicantsAuthUtility)
     376        obj = ApplicantsAuthenticatorSetup()
     377        verify.verifyClass(IAuthPluginUtility, ApplicantsAuthenticatorSetup)
    378378        verify.verifyObject(IAuthPluginUtility, obj)
    379379        return
     
    389389        # make sure we can register additional components
    390390        pau = FakePAU()
    391         result = ApplicantsAuthUtility().register(pau)
     391        result = ApplicantsAuthenticatorSetup().register(pau)
    392392        self.assertEqual(
    393393            result.credentialsPlugins, ('applicant_credentials',))
     
    399399        # make sure we can unregister applicant auth components
    400400        pau = FakePAU()
    401         util = ApplicantsAuthUtility()
     401        util = ApplicantsAuthenticatorSetup()
    402402        pau = util.register(pau)
    403403        result = util.unregister(pau)
Note: See TracChangeset for help on using the changeset viewer.