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 25, 2023
1 parent ed6e9da commit 6ba03fa
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 @@ -400,6 +400,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 @@ -450,6 +458,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 6ba03fa

Please sign in to comment.