Skip to content

Commit

Permalink
chore: add extra check for steps only
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 committed Sep 27, 2023
1 parent 7e357d2 commit 53dca73
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,14 @@ def test_no_conflict_save_strategy(self):
):
validate_config(cfg)

cfg = DictDefault(
{
"save_strategy": "steps",
}
)

validate_config(cfg)

cfg = DictDefault(
{
"save_strategy": "steps",
Expand Down Expand Up @@ -473,6 +481,14 @@ def test_no_conflict_eval_strategy(self):
):
validate_config(cfg)

cfg = DictDefault(
{
"evaluation_strategy": "steps",
}
)

validate_config(cfg)

cfg = DictDefault(
{
"evaluation_strategy": "steps",
Expand Down

0 comments on commit 53dca73

Please sign in to comment.