Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 543a565

Browse filesBrowse files
engelketswast
authored andcommitted
Updated requirement due to alert (GoogleCloudPlatform#2131)
* Updated requirement due to alert * Add conftest.py to initialize the sqlite database.
1 parent f615b6a commit 543a565
Copy full SHA for 543a565

File tree

Expand file treeCollapse file tree

2 files changed

+23
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+23
-1
lines changed

‎composer/workflows/conftest.py

Copy file name to clipboard
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2019 Google Inc. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
16+
import pytest
17+
import airflow.utils.db
18+
19+
20+
@pytest.fixture(autouse=True, scope="session")
21+
def initalize_airflow_database():
22+
airflow.utils.db.initdb()

‎composer/workflows/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apache-airflow[gcp_api]==1.10.2
1+
apache-airflow[gcp_api]==1.10.3
22
kubernetes==8.0.1
33
scipy==1.2.0
44
numpy==1.16.1

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.