コード例 #1
0
ファイル: tests.py プロジェクト: Ianodad/Password_Locker
    def test_find_account_exist(self):
        '''
        test to find user account and return
        '''
        self.new_account.add_account()
        new_account_test = Credi('Instagram', 'malcom', 'gram')
        new_account_test.add_account()

        account_exists = Credi.find_account_exist("malcom", "gram")

        self.assertTrue(account_exists)
コード例 #2
0
def account_exist():
    '''
    loop throuh list to check account already there
    '''
    return Credi.find_account_exist()