Skip to content

Commit 67cbd72

Browse files
committed
test: fix connstr
1 parent 3347985 commit 67cbd72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- name: "Test"
131131
env:
132132
TOXENV: ${{matrix.test.TOXENV}}
133-
TEST_DB: dbname=testdb
133+
TEST_DB: dbname=testdb host=/tmp
134134
run: |
135135
python -m tox -r -- --color=yes
136136

tests/test_scripting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class DBScript(skytools.DBScript):
142142
looping = 0
143143

144144
def work(self):
145-
db = self.get_database("db")
145+
db = self.get_database("db", connstr=TEST_DB)
146146
curs = db.cursor()
147147
curs.execute("select 1")
148148
curs.fetchall()

0 commit comments

Comments
 (0)