I'm still trying to get tests to run for an update...
# troubleshoot
p
I'm still trying to get tests to run for an update i've made to the biguery usage ingestion plugin When I run:
Copy code
pytest -m 'not integration' -vv
I'm seeing:
Copy code
rootdir: /Users/-/Dev/datahub-explore/datahub/metadata-ingestion, configfile: setup.cfg, testpaths: tests/unit, tests/integration
And this is resulting in lots of test failures, with this error:
Copy code
ImportError while importing test module '/Users/-/Dev/datahub-explore/datahub/metadata-ingestion/tests/integration/trino/test_trino.py'.
Hint: make sure your test modules/packages have valid Python names.
created a PR:https://github.com/linkedin/datahub/pull/3567 hopefully someone can help with the tests and ill get those added asap
b
@plain-farmer-27314 Are you running tests inside a virtual env?
Thanks for raising this PR! It's looking great. @miniature-tiger-96062 @helpful-optician-78938 Can I get another pair of 👀 on this one?
p
Hey yall, I think I found a workaround, but am now getting:
ModuleNotFoundError: No module named 'datahub-metadata'
when I run
datahub version
Resolved this as well!