Skip to content

Commit

Permalink
#163: Change test_valid_db_url to new DB_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Jan 14, 2021
1 parent 7b43ead commit 83714a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_invalid_backend_type(self, invalid_config):
class TestGetDBURL:
def test_valid_db_url(self, valid_config):
db_url = valid_config.get_db_url()
assert db_url == "mysql+pymysql://root:rootpw@localhost:13306/icatdb"
assert db_url == "mysql+pymysql://icatdbuser:icatdbuserpw@localhost:3306/icatdb"

def test_invalid_db_url(self, invalid_config):
with pytest.raises(SystemExit):
Expand Down

0 comments on commit 83714a1

Please sign in to comment.