def testStubUserDoesNotExist(self): """Check that server stub does not know invalid user""" result = crowdserverstub.user_exists('fakeuser') self.assertFalse(result)
def testStubUserExists(self): """Check that server stub recognises user""" result = crowdserverstub.user_exists(USER) self.assertTrue(result)