Skip to content

Clean bigquery operator tests#30550

Merged
potiuk merged 1 commit intoapache:mainfrom
astronomer:fix_clean_google_op
Apr 22, 2023
Merged

Clean bigquery operator tests#30550
potiuk merged 1 commit intoapache:mainfrom
astronomer:fix_clean_google_op

Conversation

@pankajastro
Copy link
Member

currently, in tests/providers/google/cloud/operators/test_bigquery.py tests are not consistent.
Example: some tests for BigQueryCreateEmptyDatasetOperator are function based and some tests are class-based

Here, I'm changing all tests to class-based and
remove helper function create_context and using fixture create_task_instance_of_operator


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Apr 9, 2023
@pankajastro pankajastro marked this pull request as ready for review April 10, 2023 06:28
@pankajastro pankajastro force-pushed the fix_clean_google_op branch from bd57582 to 07ae837 Compare April 14, 2023 18:17
@pankajastro pankajastro force-pushed the fix_clean_google_op branch from 07ae837 to 3f804ba Compare April 20, 2023 11:21
@potiuk potiuk merged commit 6a89ba3 into apache:main Apr 22, 2023
@pankajastro pankajastro deleted the fix_clean_google_op branch April 22, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants