def testget_account_exists(self): account.session = self.ses account.add(account.Account("spiritic", "123")) self.assert_(account.get("spiritic"))
def testget_account_exists(self): account.session = self.ses account.add(account.Account("spiritic", "123" )) self.assert_( account.get("spiritic") )
def testaccount_name_does_exist(self): account.session = self.ses account.add(account.Account("spiritic", "123")) self.assert_(not account.nameUnused("spiritic"))
def testaccount_name_does_exist(self): account.session = self.ses account.add(account.Account("spiritic", "123" )) self.assert_( not account.nameUnused( "spiritic" ) )