tests.parser.test_parser module

tests/parser/test_parser.py

tests.parser.test_parser.parser_instance()

初期化処理

Return type:

Generator[ServiceAdapter, Any, None]

tests.parser.test_parser.test_command_date_range_str(input_args, expected_flags)
  1. 日付

Parameters:
Return type:

None

tests.parser.test_parser.test_command_unknown_str(input_args, expected_flags, monkeypatch)
  1. 不明なコマンド

Parameters:
  • input_args (str)

  • expected_flags (list[str])

  • monkeypatch (MonkeyPatch)

Return type:

None

tests.parser.test_parser.test_command_with_argument_int(input_args, expected_flags)
  1. 引数付きコマンド(数値)

Parameters:
  • input_args (str)

  • expected_flags (dict[str, Any])

Return type:

None

tests.parser.test_parser.test_command_with_argument_str(input_args, expected_flags)
  1. 引数付きコマンド(文字)

Parameters:
  • input_args (str)

  • expected_flags (dict[str, Any])

Return type:

None

tests.parser.test_parser.test_flag_commands(input_args, expected_flags)
  1. フラグ系テスト

Parameters:
  • input_args (str)

  • expected_flags (dict[str, Any])

Return type:

None

tests.parser.test_parser.test_search_range(keyword, search_range, parser_instance)

検索範囲

Parameters:
Return type:

None