> bin/check.py:113
> /code/bin/check.py:113: PytestCollectionWarning: cannot collect test class 'Test' because it has a __init__ constructor (from: tests/test_check.py)
> class Test:
>
>-- Docs: https://docs.pytest.org/en/stable/warnings.html
Change-Id: I6917ba773203abb02d3989fa411a8c8ee4363c93
> root@sp1:/usr/local/devel/kamailio-config-tests# ./bin/check.py -h
> Traceback (most recent call last):
> File "/usr/local/devel/kamailio-config-tests/./bin/check.py", line 364, in <module>
> args = parser.parse_args()
> File "/usr/lib/python3.9/argparse.py", line 1830, in parse_args
> args, argv = self.parse_known_args(args, namespace)
> File "/usr/lib/python3.9/argparse.py", line 1863, in parse_known_args
> namespace, args = self._parse_known_args(args, namespace)
> File "/usr/lib/python3.9/argparse.py", line 2072, in _parse_known_args
> start_index = consume_optional(start_index)
> File "/usr/lib/python3.9/argparse.py", line 2012, in consume_optional
> take_action(action, args, option_string)
> File "/usr/lib/python3.9/argparse.py", line 1940, in take_action
> action(self, namespace, argument_values, option_string)
> File "/usr/lib/python3.9/argparse.py", line 1104, in __call__
> parser.print_help()
> File "/usr/lib/python3.9/argparse.py", line 2560, in print_help
> self._print_message(self.format_help(), file)
> File "/usr/lib/python3.9/argparse.py", line 2544, in format_help
> return formatter.format_help()
> File "/usr/lib/python3.9/argparse.py", line 295, in format_help
> help = self._root_section.format_help()
> File "/usr/lib/python3.9/argparse.py", line 226, in format_help
> item_help = join([func(*args) for func, args in self.items])
> File "/usr/lib/python3.9/argparse.py", line 226, in <listcomp>
> item_help = join([func(*args) for func, args in self.items])
> File "/usr/lib/python3.9/argparse.py", line 333, in _format_usage
> action_usage = format(optionals + positionals, groups)
> File "/usr/lib/python3.9/argparse.py", line 408, in _format_actions_usage
> start = actions.index(group._group_actions[0])
> IndexError: list index out of range
Change-Id: I6303ab109074589e3483256eae33f43dc7c75c19
no longer support of parsing of the kamailio log to produce flow info
* remove ulog_parser.pl, no longer used
* graph_flow.pl: remove -j option
* check.py: remove --yaml/--json options
* check.sh: remove SKIP_PARSE and JSON_KAM options
Change-Id: I0df00ffff3e7d8c2129cbbce12652ddff9730821
* bin/check.py: return different values depending on what section
check fails
reformat using black tool
Change-Id: Ie393766ba5df0951fb9f51c1c780cc5be8673fc7
* subst sipp ports for sender/receivers defined at scenarios.yml file
* fix some common substitutions
* subst ids from scenarios_ids.yml
* check.py fix some style issues
Change-Id: I245c76ff540851fa7c1248995476411f092b857c
- fix check.py comparation when int -> string
- disable tcpdump by default ( new option -K to enable it)
- fix graph_flow for json ( new option --json )
Change-Id: I25f49ef6303b4e2e28c34fefd7860c744e6c3250