Skip to content

Commit 05c5376

Browse files
sacca97copernico
authored andcommitted
fixed imports
1 parent f146321 commit 05c5376

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

prospector/commitdb/commitdb_test.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22

3-
from commitdb.postgres import DB_CONNECT_STRING, PostgresCommitDB, parse_connect_string
3+
from commitdb.postgres import PostgresCommitDB, parse_connect_string
44
from datamodel.commit import Commit
55

66

@@ -43,10 +43,3 @@ def test_lookup_nonexisting(setupdb: PostgresCommitDB):
4343
"42423b242342423b2423",
4444
)
4545
assert result == []
46-
47-
48-
def test_parse_connect_string():
49-
parsed_connect_string = parse_connect_string(DB_CONNECT_STRING)
50-
assert parsed_connect_string["host"] == "localhost"
51-
assert parsed_connect_string["user"] == "postgres"
52-
assert parsed_connect_string["port"] == "5432"

0 commit comments

Comments
 (0)