Skip to content

Commit

Permalink
Drop min_time from create_query calls
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Sep 11, 2024
1 parent 9d0ad82 commit 5639987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oonipipeline/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def create_db_for_fixture(conn_url):
db.execute("SELECT 1")
except:
pytest.skip("no database connection")
for query, _ in make_create_queries(min_time=1, max_time=2):
for query, _ in make_create_queries():
db.execute(query)
return db

Expand All @@ -156,6 +156,6 @@ def db_notruncate(clickhouse_server):
@pytest.fixture
def db(clickhouse_server):
db = create_db_for_fixture(clickhouse_server)
for _, table_name in make_create_queries(min_time=1, max_time=2):
for _, table_name in make_create_queries():
db.execute(f"TRUNCATE TABLE {table_name};")
yield db

0 comments on commit 5639987

Please sign in to comment.