-@pytest.mark.parametrize("state, retval", [
- (nominatim.tools.replication.UpdateState.UP_TO_DATE, 0),
- (nominatim.tools.replication.UpdateState.NO_CHANGES, 3)
- ])
-def test_replication_update_once_no_index(monkeypatch, temp_db, temp_db_conn,
- status_table, state, retval):
+@pytest.mark.parametrize("state", [nominatim.tools.replication.UpdateState.UP_TO_DATE,
+ nominatim.tools.replication.UpdateState.NO_CHANGES])
+def test_replication_update_once_no_index(mock_func_factory, temp_db, temp_db_conn,
+ status_table, state):