Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer/airflow_1_samples/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def airflow_database():
# We use separate directory for local db path per session
# by setting AIRFLOW_HOME env var, which is done in noxfile_config.py.

assert('AIRFLOW_HOME' in os.environ)
assert ('AIRFLOW_HOME' in os.environ)

airflow_home = os.environ["AIRFLOW_HOME"]
airflow_db = f"{airflow_home}/airflow.db"
Expand All @@ -36,4 +36,4 @@ def airflow_database():
airflow.utils.db.resetdb(rbac=None) # this command will change in Airflow 2.0

# Making sure we are using a data file there.
assert(os.path.isfile(airflow_db))
assert (os.path.isfile(airflow_db))