def test_argument_str_method_empty(): argu = Arguments(create_argv(test_command_empty_1)) assert len(argu) == 0 assert argu.__str__() == "[]"
def test_argument_str_method(): argu = Arguments(create_argv(test_command_2)) assert len(argu) == 2 assert argu.__str__() == "['-s', 'lastpos']"