mirror_frr/tests
Quentin Young c287dfd25c tests: provide sane default for --topology-only
Fixes:

/usr/lib/python3.9/site-packages/_pytest/config/__init__.py:1463: in getoption
    val = getattr(self.option, name)
E   AttributeError: 'Namespace' object has no attribute 'topology_only'

The above exception was the direct cause of the following exception:
/usr/lib/python3.9/site-packages/pluggy/manager.py:127: in register
    hook._maybe_apply_history(hookimpl)
/usr/lib/python3.9/site-packages/pluggy/hooks.py:333: in _maybe_apply_history
    res = self._hookexec(self, [method], kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
tests/topotests/conftest.py:62: in pytest_configure
    if config.getoption("--topology-only"):
/usr/lib/python3.9/site-packages/_pytest/config/__init__.py:1474: in getoption
    raise ValueError(f"no option named {name!r}") from e
E   ValueError: no option named 'topology_only'

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2021-04-07 13:31:27 -04:00
..
bgpd tests: Use BGP Extended Message length 2021-03-03 22:21:08 +02:00
helpers tests: ignore Windows vs Unix style newlines 2020-11-17 13:19:44 +00:00
isisd isisd: handle corner case involving TI-LFA and the SR No-PHP flag 2021-02-26 15:54:01 -03:00
lib Merge pull request #8350 from opensourcerouting/printfrr-revamp 2021-03-31 09:10:30 -04:00
ospf6d ospf6d, tests: Prevent use after free 2020-10-11 11:16:44 -04:00
ospfd *: require semicolon after DEFINE_<typesafe...> 2021-03-17 06:18:39 +01:00
topotests tests: provide sane default for --topology-only 2021-04-07 13:31:27 -04:00
zebra tests: add test for labelmanager plugin 2021-01-05 18:20:50 +00:00
.gitignore tests: add unit test for xrefs 2021-02-01 17:28:11 +01:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am tests: add unit test for xrefs 2021-02-01 17:28:11 +01:00