Correct path in test
@@ -256,7 +256,9 @@ def test_datastore_from_dir_no_obs_index(caplog, tmpdir):
assert obs.obs_info["ONTIME"] == 1687.0
assert len(observations) == 2
- data_store.copy_obs([23523], tmpdir, overwrite=True)
- data_store_copy = DataStore.from_dir(tmpdir)
+ test_dir = tmpdir / "test"
+ os.mkdir(test_dir)
+ data_store.copy_obs([23523], test_dir)
+ data_store_copy = DataStore.from_dir(test_dir)
assert len(data_store_copy.obs_ids) == 1
assert data_store_copy.obs_table == None
\ No newline at end of file
