Beispiel #1
0
 def testGetForCurrentAccountNonExistent(self):
     """Test that None is returned when the current user is not registered.
 """
     entity = user_logic._getForCurrentAccount()
     self.failUnlessEqual(entity, None)
Beispiel #2
0
 def testGetForCurrentAccountNonExistent(self):
   """Test that None is returned when the current user is not registered.
   """
   entity = user_logic._getForCurrentAccount()
   self.failUnlessEqual(entity, None)
Beispiel #3
0
 def testGetForCurrentAccount(self):
     """Test that the entity of current user can be retrieved through account.
 """
     current_user = self.createCurrentUser()
     entity = user_logic._getForCurrentAccount()
     self._compareUsers(current_user, entity)
Beispiel #4
0
 def testGetForCurrentAccount(self):
   """Test that the entity of current user can be retrieved through account.
   """
   current_user = self.createCurrentUser()
   entity = user_logic._getForCurrentAccount()
   self._compareUsers(current_user, entity)