-
Notifications
You must be signed in to change notification settings - Fork 3
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 cases not executed #16
Comments
I created a pull request that should now run 11 tests. #17 However, I was not able to fix the TypeAlias issue. |
I checked the fix-tests branch with python 3.8 - I had no issues running all unit tests.
|
Yeah, should have mentioned this :) and This worked with the original TypeAlias in python 3.10 but not with |
Agreed on working with typing.Any for now due to complications with Python < 3.10 and the TypeAlias and typing support in general. |
Test cases are currently not executed in the GitHub CI pipeline:
python -m unittest discover -v
was replaced by make.However, the
Makefile
specifies the tests-directory explicitly. This means that tests cases of modules are no longer executed.The test cases currently also fail due to failed imports (at least for my locally):
ImportError: cannot import name 'Finding' from 'reptor.api.models'
.Adding
__init__.py
-files obviously fixes the problem.During troubleshooting, I also realized that
TypeAlias
is available from python 3.10 and not compatible with 3.8./cc @richardschwabe
The text was updated successfully, but these errors were encountered: