Ignore:
Timestamp:
8 Mar 2012, 22:28:46 (13 years ago)
Author:
Henrik Bettermann
Message:

KOFA -> Kofa

Location:
main/waeup.kofa/trunk/src/waeup/kofa/tests
Files:
4 edited

Legend:

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

    r7811 r7819  
    2424from waeup.kofa.testing import FunctionalTestCase, FunctionalLayer
    2525from waeup.kofa.authentication import (
    26     UserAuthenticatorPlugin, Account, KOFAPrincipalInfo,
     26    UserAuthenticatorPlugin, Account, KofaPrincipalInfo,
    2727    get_principal_role_manager)
    2828
     
    6464        result2 = plugin.authenticateCredentials(
    6565            dict(login='bob', password='nonsense'))
    66         self.assertTrue(isinstance(result1, KOFAPrincipalInfo))
     66        self.assertTrue(isinstance(result1, KofaPrincipalInfo))
    6767        self.assertTrue(result2 is None)
    6868        return
     
    7373        result1 = plugin.principalInfo('bob')
    7474        result2 = plugin.principalInfo('manfred')
    75         self.assertTrue(isinstance(result1, KOFAPrincipalInfo))
     75        self.assertTrue(isinstance(result1, KofaPrincipalInfo))
    7676        self.assertTrue(result2 is None)
    7777        return
  • main/waeup.kofa/trunk/src/waeup/kofa/tests/test_interfaces.py

    r7811 r7819  
    4848        # Register a role not visible to waeup portal as its name does
    4949        # not start with 'waeup.'
    50         class NonKOFARole(grok.Role):
     50        class NonKofaRole(grok.Role):
    5151            grok.name('nonwaeup.testrole')
    5252            grok.title('Role not suitable for waeup')
    5353            grok.permissions('waeup.Public')
    5454        grok.testing.grok_component('SomeRole', SomeRole)
    55         grok.testing.grok_component('NonKOFARole', NonKOFARole)
     55        grok.testing.grok_component('NonKofaRole', NonKofaRole)
    5656        return
    5757
  • main/waeup.kofa/trunk/src/waeup/kofa/tests/test_objecthistory.py

    r7811 r7819  
    2626from zope.security.testing import Principal, Participation
    2727from waeup.kofa.app import University
    28 from waeup.kofa.interfaces import IObjectHistory, IKOFAObject
     28from waeup.kofa.interfaces import IObjectHistory, IKofaObject
    2929from waeup.kofa.testing import FunctionalTestCase, FunctionalLayer
    3030from waeup.kofa.objecthistory import ObjectHistory
    3131
    3232class SampleObject(grok.Model):
    33     grok.implements(IKOFAObject)
     33    grok.implements(IKofaObject)
    3434    pass
    3535
  • main/waeup.kofa/trunk/src/waeup/kofa/tests/test_smtp.py

    r7811 r7819  
    328328            'test program', 'no-reply@waeup.org',
    329329            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
    330             'Test Mail from WAeUP KOFA',
     330            'Test Mail from WAeUP Kofa',
    331331            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
    332332            )
     
    345345            'test program', 'no-reply@waeup.org',
    346346            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
    347             'Test Mail from WAeUP KOFA',
     347            'Test Mail from WAeUP Kofa',
    348348            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
    349349            )
Note: See TracChangeset for help on using the changeset viewer.