We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
File at sba_tests/test_my_own_server.py (following
aas-test-engines/README.md
Line 139 in 652f80f
from aas_test_engines import api tests = api.generate_tests('3.0', ['Asset Administration Shell API']) api.execute_tests(tests, "http://example.org")
python3 sba_tests/test_my_own_server.py:
python3 sba_tests/test_my_own_server.py
Traceback (most recent call last): File "/Users/sba/Documents/2_git/aas-test-engines/sba_tests/test_my_own_server.py", line 3, in <module> tests = api.generate_tests('3.0', ['Asset Administration Shell API']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/aas_test_engines/api.py", line 58, in generate_tests conf = generate.generate(spec.api, suites) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/aas_test_engines/_api/generate.py", line 343, in generate if op.tags & tag_filter: ~~~~~~~~^~~~~~~~~~~~ TypeError: unsupported operand type(s) for &: 'set' and 'list'
The text was updated successfully, but these errors were encountered:
Is this caused by my Python version?
Sorry, something went wrong.
32d5466
This is actually not a bug but wrong in the README. I have corrected this:
from aas_test_engines import api tests = api.generate_tests(suites=set(['Asset Administration Shell API'])) conf = api.run.ExecConf( server = "http://localhost", ) for result in api.execute_tests(tests, conf): result.dump()
No branches or pull requests
Minimal example:
File at sba_tests/test_my_own_server.py (following
aas-test-engines/README.md
Line 139 in 652f80f
Stack Trace:
python3 sba_tests/test_my_own_server.py
:The text was updated successfully, but these errors were encountered: