Skip to content

Commit

Permalink
added test for TRAIN_SAVE_FILES frozen
Browse files Browse the repository at this point in the history
  • Loading branch information
mivanit committed Jul 26, 2024
1 parent ffa068b commit 4f6d781
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/test_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
from maze_transformer.training.wandb_logger import WandbJobType, WandbProject


def test_train_save_files_frozen():
with pytest.raises(AttributeError):
TRAIN_SAVE_FILES.data_cfg = "new"

@pytest.mark.usefixtures("temp_dir")
def test_train_model_without_evals(temp_dir: Path):
dataset = _create_dataset()
Expand Down

0 comments on commit 4f6d781

Please sign in to comment.