From 83d4d183f3edf021a070c7dce3c0056d5670e7d2 Mon Sep 17 00:00:00 2001 From: Florian Pinault Date: Tue, 3 Dec 2024 10:34:38 +0000 Subject: [PATCH] ci --- tests/test_all.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/test_all.py b/tests/test_all.py index cf16b9f..a40e34d 100644 --- a/tests/test_all.py +++ b/tests/test_all.py @@ -80,8 +80,8 @@ def setup_datasets(): print("# Setup done") -def setup_module(): - teardown_module(raise_if_error=False) +def _setup_module(): + _teardown_module(raise_if_error=False) setup_experiments() setup_checkpoints() setup_datasets() @@ -118,7 +118,7 @@ def teardown_datasets(errors): errors.append(e) -def teardown_module(raise_if_error=True): +def _teardown_module(raise_if_error=True): errors = [] teardown_experiments(errors) teardown_checkpoints(errors) @@ -187,10 +187,6 @@ def _test_list_commands(): run("anemoi-registry", "list", "datasets") -def test_print(): - print("test") - - if __name__ == "__main__": _test_list_commands() print()