diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-05-19 12:51:09 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-05-19 12:52:51 -0400 |
| commit | 03b53c1229a92cbb16fd4e48a5218c794dafaab0 (patch) | |
| tree | d863b4820d200dd622e63484c63d7f3f72199d0a /tests/topotests/ospf_basic_functionality/test_ospf_p2mp.py | |
| parent | 32b20e1ad65e8db2ef80dd39b255f34de2802cd2 (diff) | |
tests: pytest does not like return True from a test
From running the test:
bgp_remove_private_as/test_bgp_remove_private_as.py::test_bgp_remove_private_as
/home/sharpd/.local/lib/python3.10/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but bgp_remove_private_as/test_bgp_remove_private_as.py::test_bgp_remove_private_as returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_p2mp.py')
0 files changed, 0 insertions, 0 deletions
