Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_traceroute_aspath.py: Fix ASPATH expectations #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nuclearcat
Copy link

It seems real probe generates slightly different ASPATH, as result tests are failing:

============================================================================================= short test summary info =============================================================================================
FAILED tests/renderers/test_traceroute_aspath.py::TestTracerouteASPathRenderer::test_arg_radius - AssertionError: Lists differ: ['Pro[33 chars]4637 AS207021, completed', 'Probe #22880:  AS2[215 chars], ''] != ['Pro[33 chars]4637   AS1921, completed', 'Probe #22880:  AS2[215 chars], '']
FAILED tests/renderers/test_traceroute_aspath.py::TestTracerouteASPathRenderer::test_basic - AssertionError: Lists differ: ['Pro[15 chars]4637 AS207021, completed', 'Probe #22880:   AS[117 chars], ''] != ['Pro[15 chars]4637   AS1921, completed', 'Probe #22880:   AS[117 chars], '']
FAILED tests/test_docs.py::DocTest::test_html_documentation - sphinx.errors.SphinxWarning: Failed to read intersphinx_mapping[http://docs.python.org/], ignored: SphinxWarning('The pre-Sphinx 1.0 \'intersphinx_mapping\' format is deprecated and will be removed in Sphin...

This commit updating it to the actual one.

It seems real probe generates slightly different ASPATH,
as result tests are failing:
```
============================================================================================= short test summary info =============================================================================================
FAILED tests/renderers/test_traceroute_aspath.py::TestTracerouteASPathRenderer::test_arg_radius - AssertionError: Lists differ: ['Pro[33 chars]4637 AS207021, completed', 'Probe #22880:  AS2[215 chars], ''] != ['Pro[33 chars]4637   AS1921, completed', 'Probe #22880:  AS2[215 chars], '']
FAILED tests/renderers/test_traceroute_aspath.py::TestTracerouteASPathRenderer::test_basic - AssertionError: Lists differ: ['Pro[15 chars]4637 AS207021, completed', 'Probe #22880:   AS[117 chars], ''] != ['Pro[15 chars]4637   AS1921, completed', 'Probe #22880:   AS[117 chars], '']
FAILED tests/test_docs.py::DocTest::test_html_documentation - sphinx.errors.SphinxWarning: Failed to read intersphinx_mapping[http://docs.python.org/], ignored: SphinxWarning('The pre-Sphinx 1.0 \'intersphinx_mapping\' format is deprecated and will be removed in Sphin...
```

This commit updating it to the actual one.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant