fixed logout in tests
This commit is contained in:
parent
8f78cc2e89
commit
e87042f211
|
@ -42,8 +42,8 @@ class OneUserTestCase(MinimalTestCase):
|
||||||
context.setVar('userToken', userToken)
|
context.setVar('userToken', userToken)
|
||||||
|
|
||||||
def logout(self):
|
def logout(self):
|
||||||
authenticationProxy = getProxyForServerRole('authentication')
|
identitiesProxy = getProxyForServerRole('identities')
|
||||||
authenticationProxy.delUserToken()
|
identitiesProxy.deleteUserToken()
|
||||||
context.delVar('userToken')
|
context.delVar('userToken')
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
Reference in New Issue