Created
April 10, 2024 08:13
-
-
Save judoole/7f61ec40297829dce80d667109c8574b to your computer and use it in GitHub Desktop.
Example of a behave feature for Airflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ci | |
Feature: Always use impersonation chain where possible | |
As a developer | |
I want to make sure we use impersonation_chain | |
So that I can develop locally and not be afraid that I overwrite production tables | |
And that clients don't use other client's GCP projects | |
Scenario: All tasks should use impersonation_chain when applicable | |
Given airflow is running | |
Given tasks that has attribute "impersonation_chain" | |
Then the attribute "impersonation_chain" is not "None" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment