Exemplo n.º 1
0
 def testStubUserDoesNotExist(self):
     """Check that server stub does not know invalid user"""
     result = crowdserverstub.user_exists('fakeuser')
     self.assertFalse(result)
Exemplo n.º 2
0
 def testStubUserDoesNotExist(self):
     """Check that server stub does not know invalid user"""
     result = crowdserverstub.user_exists('fakeuser')
     self.assertFalse(result)
Exemplo n.º 3
0
 def testStubUserExists(self):
     """Check that server stub recognises user"""
     result = crowdserverstub.user_exists(USER)
     self.assertTrue(result)
Exemplo n.º 4
0
 def testStubUserExists(self):
     """Check that server stub recognises user"""
     result = crowdserverstub.user_exists(USER)
     self.assertTrue(result)