From 1719f340a3d62a4af95d778d425b5b133bcd6ea5 Mon Sep 17 00:00:00 2001 From: Erel Segal-Halevi Date: Tue, 9 Jul 2024 22:09:58 +0300 Subject: [PATCH] tests --- tests/test_ACEEI.py | 5 ++--- tests/test_tabu_search.py | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/test_ACEEI.py b/tests/test_ACEEI.py index 0d5338d..a81932f 100644 --- a/tests/test_ACEEI.py +++ b/tests/test_ACEEI.py @@ -125,7 +125,6 @@ def test_case_5(): if __name__ == "__main__": - pytest.main(["-v", __file__]) # logger.addHandler(logging.StreamHandler()) - logger.setLevel(logging.INFO) - # test_case_3() + # logger.setLevel(logging.INFO) + pytest.main(["-v", __file__]) diff --git a/tests/test_tabu_search.py b/tests/test_tabu_search.py index 614f104..006306c 100644 --- a/tests/test_tabu_search.py +++ b/tests/test_tabu_search.py @@ -111,7 +111,6 @@ def test_case5(): if __name__ == "__main__": - # pytest.main(["-v", __file__]) - import doctest - - doctest.testmod() + # logger.addHandler(logging.StreamHandler()) + # logger.setLevel(logging.INFO) + pytest.main(["-v", __file__])