Logo
Explore Help
Register Sign In
yujunjun/datahub
2
0
Fork 0
You've already forked datahub
mirror of https://github.com/datahub-project/datahub.git synced 2025-07-06 00:31:18 +00:00
Code Issues Packages Projects Releases Wiki Activity
datahub/metadata-ingestion/tests/test_helpers/click_helpers.py

8 lines
170 B
Python
Raw Normal View History

Introducing TimeSeries Aspects + Dataset Profile (Stats) Aspect (#2983) Co-authored-by: Dexter Lee <dexter@acryl.io> Co-authored-by: Harshal Sheth <hsheth2@gmail.com> Co-authored-by: Ravindra Lanka <rlanka@acryl.io> Co-authored-by: Shirshanka Das <shirshanka@apache.org>
2021-07-30 17:41:03 -07:00
from click.testing import Result
def assert_result_ok(result: Result) -> None:
if result.exception:
raise result.exception
assert result.exit_code == 0
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 313ms Template: 13ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API