コード例 #1
0
ファイル: account_test.py プロジェクト: taishan90/mud
 def testget_account_exists(self):
     account.session = self.ses
     account.add(account.Account("spiritic", "123"))
     self.assert_(account.get("spiritic"))
コード例 #2
0
ファイル: account_test.py プロジェクト: ryanberckmans/mud
 def testget_account_exists(self):
     account.session = self.ses
     account.add(account.Account("spiritic", "123" ))
     self.assert_( account.get("spiritic") )
コード例 #3
0
ファイル: account_test.py プロジェクト: taishan90/mud
 def testaccount_name_does_exist(self):
     account.session = self.ses
     account.add(account.Account("spiritic", "123"))
     self.assert_(not account.nameUnused("spiritic"))
コード例 #4
0
ファイル: account_test.py プロジェクト: ryanberckmans/mud
 def testaccount_name_does_exist(self):
     account.session = self.ses
     account.add(account.Account("spiritic", "123" ))
     self.assert_( not account.nameUnused( "spiritic" ) )