Skip to content

Commit dc97488

Browse files
committed
test: fix docker tests by using correct names
Classic not sure how this ever worked.
1 parent 459f4d4 commit dc97488

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_importer.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929

3030
@pytest.fixture
3131
def config(tmp_path: Path) -> Config:
32-
mongo_config = MongoConfig("localhost", 27017)
33-
elasticsearch_config = ElasticsearchConfig(["http://localhost:9200"])
32+
mongo_config = MongoConfig("mongo", 27017)
33+
elasticsearch_config = ElasticsearchConfig(["http://es:9200"])
3434
portal_config = PortalConfig(
35-
"http://10.0.11.20", "postgres://ckan:password@db/ckan", "admin"
35+
"http://localhost", "postgres://ckan:password@db/ckan", "admin"
3636
)
3737
return Config(
3838
data_path=tmp_path / "data",

0 commit comments

Comments
 (0)