Пример #1
0
def given_i_successfully_execute_rpm_with_args(context, args):
    context.execute_steps(
        u"Given I execute rpm with args \"{args}\"".format(args=args))
    assert_exitcode(context, 0)
Пример #2
0
def when_I_successfully_execute_command(context, command):
    when_I_execute_command(context, command)
    assert_exitcode(context, 0)
Пример #3
0
def then_the_exit_code_is(context, exitcode):
    assert_exitcode(context, exitcode)
Пример #4
0
def when_I_successfully_execute_command_in_directory(context, command,
                                                     directory):
    when_I_execute_command_in_directory(context, command, directory)
    assert_exitcode(context, 0)