Datastore.from_file -> from_dir
@@ -14,7 +14,7 @@ from gammapy.data import DataStore
@pytest.fixture(scope="session")
def observations():
"""Example observation list for testing."""
- datastore = DataStore.from_file("$GAMMAPY_DATA/hess-dl3-dr1")
+ datastore = DataStore.from_dir("$GAMMAPY_DATA/hess-dl3-dr1/")
obs_ids = [23523, 23526]
return datastore.get_observations(obs_ids)
