Skip to content

Commit

Permalink
Fix db url in envvar test properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jerith committed Jul 13, 2023
1 parent ac0de61 commit 78619e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_sync_faqmatches_envvars(runner, fake_data_export, db, monkeypatch):

assert db.fetch_faqs() == []

monkeypatch.setenv("AAQ_SYNC_DB_URL", db.engine.url_with_password)
monkeypatch.setenv("AAQ_SYNC_DB_URL", db.url_with_password)
monkeypatch.setenv("AAQ_SYNC_EXPORT_URL", str(fake_data_export.base_url))
monkeypatch.setenv("AAQ_SYNC_EXPORT_TOKEN", "faketoken")
monkeypatch.setenv("AAQ_SYNC_TABLES", "faqmatches")
Expand Down

0 comments on commit 78619e6

Please sign in to comment.