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

failed pytest [communication_test] #1

Open
krishna-esrlabs opened this issue Jul 26, 2024 · 0 comments
Open

failed pytest [communication_test] #1

krishna-esrlabs opened this issue Jul 26, 2024 · 0 comments

Comments

@krishna-esrlabs
Copy link

Failed communication test

PYTHONPATH=mcf_tools/types_generator:$PYTHONPATH pytest mcf_tools/types_generator/test/manual_tests mcf_remote

mcf_tools/types_generator/test/manual_tests/test_value_generation.py ...............                                                 [ 57%]
mcf_remote/test/python/communication_test.py F                                                                                       [ 61%]
mcf_remote/test/python/test_rc.py .........                                                                                          [ 96%]
mcf_remote/test/python/test_rs.py .                                                                                                  [100%]

Reason for failure

usage: pytest [-h] [--ip IP] [--port PORT]
pytest: error: unrecognized arguments: mcf_tools/types_generator/test/manual_tests mcf_remote

communication_test.py has an argparser that expects ip and port, it runs fine as a standalone script, however it fails when it attempts to read arguments from pytest command

@mthiede-acn2

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

No branches or pull requests

1 participant