コード例 #1
0
def delete_registered_user():
    """
    Delete user
    """
    yield
    with allure.step('Delete registered user'):
        db = Connection()
        db.delete_user_with_email("*****@*****.**")
        loger(__name__, 'info', 'Delete User')
        db.close()
コード例 #2
0
def delete_registered_user():
    """
    Delete user
    """
    yield
    with allure.step('Delete registered user'):
        db = Connection()
        db.delete_user_with_email("*****@*****.**")
        loger = PyLogging(__name__)
        loger.info("Deleting user")
        db.close()
コード例 #3
0
ファイル: conftest.py プロジェクト: sboris-git/CH_096_TAQC
def delete_user_and_close_conn():
    yield
    conn = Connection()
    conn.delete_user_with_email("*****@*****.**")
    conn.close()