Beispiel #1
0
def step_impl(context):
    WinFryR_Controller.clear_restore_folder('auto_restores')
    context.execute_steps(
        unicode('When I log WinFryr "MZD Restore" KPI start time'))
    WinFryR_Controller.restore_by_mzd()
    context.execute_steps(
        unicode('When I log WinFryr "MZD Restore" KPI end time'))
Beispiel #2
0
def step_impl(context):
    WinFryR_Controller.clear_restore_folder('auto_restores')
    WinFryR_Controller.launch_restore_manager()
    context.execute_steps(
        unicode('When I log WinFryr "Decrypt" KPI start time'))
    WinFryR_Controller.decrypt_file()
    context.execute_steps(unicode('When I log WinFryr "Decrypt" KPI end time'))
Beispiel #3
0
def step_impl(context):
    WinFryR_Controller.clear_restore_folder('auto_restores')
    WinFryR_Controller.launch_restore_manager()
    context.execute_steps(
        unicode('When I log WinFryr "Archive Restore" KPI start time'))
    WinFryR_Controller.archive_restore()
    context.execute_steps(
        unicode('When I log WinFryr "Archive Restore" KPI end time'))
Beispiel #4
0
def step_impl(context):
    WinFryR_Controller.close_app()
Beispiel #5
0
def step_impl(context, email, password):
    WinFryR_Controller.clear_restore_folder('auto_restores')
    WinFryR_Controller.launch_restore_manager()
    WinFryR_Controller.login(email, password)
    WinFryR_Controller.restore_by_username()
Beispiel #6
0
def step_impl(context):
    username = context.user.username
    password = context.user.password
    context.execute_steps(unicode('When I log WinFryr "Login" KPI start time'))
    WinFryR_Controller.login(username, password)
    context.execute_steps(unicode('When I log WinFryr "Login" KPI end time'))
Beispiel #7
0
def step_impl(context):
    WinFryR_Controller.launch_restore_manager()
Beispiel #8
0
def step_impl(context):
    assert (WinFryR_Controller.verify_restore_completed() == True)
    WinFryR_Controller.check_decrypted_files()
    WinFryR_Controller.close_app()
Beispiel #9
0
def step_impl(context, folder_name):
    WinFryR_Controller.clear_restore_folder('auto_restores')
    WinFryR_Controller.launch_restore_manager()
    WinFryR_Controller.decrypt_folder(folder_name)