Skip to content

Commit

Permalink
Merge pull request #129 from xsnippet/fix-ci
Browse files Browse the repository at this point in the history
Fix the tests on CI
  • Loading branch information
malor committed Mar 20, 2021
2 parents 7ae5d5c + 791ead1 commit 83be571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
SQLAlchemy >= 1.4.0
alembic >= 1.5.2
gabbi >= 2.1.0
psycopg2-binary >= 2.8.6
Expand Down
3 changes: 1 addition & 2 deletions tests/test_gabbits.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ def setup_db(self):
)

# create a temporary database with a random name
self.test_db_url = sqlalchemy.engine.url.make_url(str(self.management_db.url))
self.test_db_url.database = _random_name()
self.test_db_url = self.management_db.url.set(database=_random_name())

with self.management_db.connect() as conn:
conn.execute(
Expand Down

0 comments on commit 83be571

Please sign in to comment.