Skip to content

Commit 825c9b1

Browse files
committed
Get tests running
1 parent 630fa27 commit 825c9b1

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ dependencies = [
3434
"xlrd",
3535
"mypy-extensions",
3636
"pypubsub",
37-
"tomlkit"
37+
"tomlkit",
38+
"duckdb",
39+
"fsspec"
3840
]
3941
dynamic = ["version"]
4042

src/muse/examples.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ def example_data_dir() -> Path:
4848
def available_examples() -> list[str]:
4949
"""List examples available in the examples folder."""
5050
# temporary skip for default_new_input as this is not yet working
51-
return [
52-
d.stem
53-
for d in example_data_dir().iterdir()
54-
if d.is_dir() and d.name != "default_new_input"
55-
]
51+
return [d.stem for d in example_data_dir().iterdir()]
5652

5753

5854
def model(name: str = "default") -> MCA:

tests/test_fullsim_regression.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
from muse.examples import available_examples
44
from pytest import mark
55

6+
MODELS = available_examples()
7+
MODELS.pop("default_new_input")
8+
69

710
@mark.usefixtures("save_timeslice_globals")
811
@mark.regression
912
@mark.example
10-
@mark.parametrize("model", available_examples())
13+
@mark.parametrize("model", MODELS)
1114
def test_fullsim_regression(model, tmpdir, compare_dirs):
1215
from warnings import simplefilter
1316

0 commit comments

Comments
 (0)