X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3788d765ed4e7ddf00794085af757714bc102cf..e6775e713c2a1c009f7a01fad674a545e0e6bb39:/test/python/tools/test_freeze.py diff --git a/test/python/tools/test_freeze.py b/test/python/tools/test_freeze.py index 30b673ff..3ebb1730 100644 --- a/test/python/tools/test_freeze.py +++ b/test/python/tools/test_freeze.py @@ -39,17 +39,17 @@ def test_drop_tables(temp_db_conn, temp_db_cursor, table_factory): assert not temp_db_cursor.table_exists(table) def test_drop_flatnode_file_no_file(): - freeze.drop_flatnode_file('') + freeze.drop_flatnode_file(None) def test_drop_flatnode_file_file_already_gone(tmp_path): - freeze.drop_flatnode_file(str(tmp_path / 'something.store')) + freeze.drop_flatnode_file(tmp_path / 'something.store') def test_drop_flatnode_file_delte(tmp_path): flatfile = tmp_path / 'flatnode.store' flatfile.write_text('Some content') - freeze.drop_flatnode_file(str(flatfile)) + freeze.drop_flatnode_file(flatfile) assert not flatfile.exists()