From c6ce2cc75258bd0c99ec5e9c29e1568c8af3f174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Wed, 27 Apr 2022 11:13:54 +0200 Subject: [PATCH] Fix paircheck test case file names --- benchmark/tests/PairCheck_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmark/tests/PairCheck_test.py b/benchmark/tests/PairCheck_test.py index 5b69d06..4397772 100644 --- a/benchmark/tests/PairCheck_test.py +++ b/benchmark/tests/PairCheck_test.py @@ -26,7 +26,7 @@ class PairCheckTest(unittest.TestCase): with patch("sys.stdout", new=StringIO()) as fake_out: report.report() computed = fake_out.getvalue() - with open(os.path.join("test_files", "PairCheck.test"), "r") as f: + with open(os.path.join("test_files", "paircheck.test"), "r") as f: expected = f.read() self.assertEqual(computed, expected) @@ -36,7 +36,7 @@ class PairCheckTest(unittest.TestCase): with patch("sys.stdout", new=StringIO()) as fake_out: report.report() computed = fake_out.getvalue() - with open(os.path.join("test_files", "PairCheck_win.test"), "r") as f: + with open(os.path.join("test_files", "paircheck_win.test"), "r") as f: expected = f.read() self.assertEqual(computed, expected) @@ -48,7 +48,7 @@ class PairCheckTest(unittest.TestCase): with patch("sys.stdout", new=StringIO()) as fake_out: report.report() computed = fake_out.getvalue() - with open(os.path.join("test_files", "PairCheck_lose.test"), "r") as f: + with open(os.path.join("test_files", "paircheck_lose.test"), "r") as f: expected = f.read() self.assertEqual(computed, expected) @@ -59,7 +59,7 @@ class PairCheckTest(unittest.TestCase): report.report() computed = fake_out.getvalue() with open( - os.path.join("test_files", "PairCheck_win_lose.test"), "r" + os.path.join("test_files", "paircheck_win_lose.test"), "r" ) as f: expected = f.read() self.assertEqual(computed, expected)