From 575d58e2db45bd082a100c74943dddc087f07a42 Mon Sep 17 00:00:00 2001 From: h-aze Date: Sat, 2 Dec 2023 13:18:51 +0000 Subject: [PATCH] More renaming --- tests/test_searchers_grid.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_searchers_grid.py b/tests/test_searchers_grid.py index d7b87af..d36fe74 100644 --- a/tests/test_searchers_grid.py +++ b/tests/test_searchers_grid.py @@ -135,7 +135,7 @@ def test_runs_zero(self): searcher.next_tune() def test_check_existing_runs(self): - # Test that check_existing_runs correctly sets the slog_exists attribute + # Test that check_existing_runs correctly sets the saver_exists attribute # Create an instance of SearcherGrid with sample hyperparameters hyperparameters = { @@ -144,12 +144,12 @@ def test_check_existing_runs(self): } searcher = SearcherGrid(hyperparameters, runs=1) - # Check that slog_exists is None before calling check_existing_runs - self.assertIsNone(searcher.slog_exists) + # Check that saver_exists is None before calling check_existing_runs + self.assertIsNone(searcher.saver_exists) - # Check that slog_exists is set to a function after calling check_existing_runs + # Check that saver_exists is set to a function after calling check_existing_runs searcher.check_existing_runs(MockSaver(MockLogger())) - self.assertTrue(callable(searcher.slog_exists)) + self.assertTrue(callable(searcher.saver_exists)) def test_skip_existing_runs_positive(self): # Test that skip_existing_runs correctly skips existing runs