File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ create-pokemon-pipeline-interactive:
3232
3333# e2e test helpers
3434create-e2e-pokemon-pipeline :
35- poetry run dlt-openapi init pokemon --path tests/cases/e2e_specs/pokeapi.yml --global-limit 1 --no-interactive
35+ poetry run dlt-openapi init pokemon --path tests/cases/e2e_specs/pokeapi.yml --global-limit 2 --no-interactive
3636
3737run-pokemon-pipeline :
3838 cd pokemon-pipeline && poetry run python pipeline.py
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ def test_pokemon_pipeline() -> None:
88 db = duckdb .connect (POKE_DUCKDB_FILE )
99
1010 # there should be 20 entries
11- assert db .sql ("SELECT count (*) from pokemon_data.pokemon" ).fetchone ()[0 ] == 20
11+ assert db .sql ("SELECT count (*) from pokemon_data.pokemon" ).fetchone ()[0 ] == 40
1212
1313 # there should be 20 entries with pokemon details loaded
1414 # (the id is only loaded on the full request)
15- assert db .sql ("SELECT count (*) from pokemon_data.pokemon as p WHERE p.id IS NOT NULL" ).fetchone ()[0 ] == 20
15+ assert db .sql ("SELECT count (*) from pokemon_data.pokemon as p WHERE p.id IS NOT NULL" ).fetchone ()[0 ] == 40
You can’t perform that action at this time.
0 commit comments