-
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
Add dummy sheet test #28
Conversation
@turbomam @jooho-lee-kim You don't need to review this PR (unless you want to!), but I just wanted to let you both know that this test now exists. Let me know if you have any ideas on improving it, either in this PR or in another one! |
349df54
to
f431144
Compare
This is because the CCDH Terminology Service endpoint changed.
This environmental variable can be used to access file (see https://pygsheets.readthedocs.io/en/stable/authorization.html#service-account for details).
f431144
to
2870a01
Compare
This is because @cached_property isn't supported in Python 3.7, blech.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the changes and tests in this PR are great @gaurav. Awesome job.🎉
I've left some very very trivial comments on this PR, which can choose not to address, they're not critical at all. So approving this PR for merge.🚀
See https://docs.python.org/3/library/constants.html#exit for recommendation.
This PR adds a "dummy sheet test" (#8) -- it runs sheet2linkml with a Google Sheet I've created solely for testing at https://docs.google.com/spreadsheets/d/1HpsF12vl_CeIzV2TEtANeysnh7cy6YOUDdv6fMXT00I/edit#gid=1810442705, and ensures that the output is identical to the schema generated on previous runs, which is included in this PR.
In addition to this, this PR also fixes some minor bugs found along with the way:
pytest
to support testing.logging_config
andgoogle_sheet_id
command line arguments are set before using them.0
in case of successful execution.print()
withlogging.debug()
.