示例#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
def delete_user_and_close_conn():
    yield
    conn = Connection()
    conn.delete_user_with_email("*****@*****.**")
    conn.close()