From 551481e2bb96220cd7b98f45476116d4edc464e1 Mon Sep 17 00:00:00 2001 From: Sijie Date: Tue, 9 Jan 2024 18:32:58 -0500 Subject: [PATCH] relocate impl_test.py --- test/genome_tests/__init__.py | 0 test/{problematic_tests => genome_tests}/impl_test.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 test/genome_tests/__init__.py rename test/{problematic_tests => genome_tests}/impl_test.py (97%) diff --git a/test/genome_tests/__init__.py b/test/genome_tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/test/problematic_tests/impl_test.py b/test/genome_tests/impl_test.py similarity index 97% rename from test/problematic_tests/impl_test.py rename to test/genome_tests/impl_test.py index f1021d44..a40dd8d6 100644 --- a/test/problematic_tests/impl_test.py +++ b/test/genome_tests/impl_test.py @@ -30,10 +30,10 @@ def _run_test_fail(self, cfg, error_message): assert_exception_correct(got.value, ValueError(error_message)) def test_valid_catalog_param_type(self): - os.environ["KBASE_SECURE_CONFIG_PARAM_MAX_THREADS"] = "10" + os.environ["KBASE_SECURE_CONFIG_PARAM_MAX_THREADS"] = "16" os.environ["KBASE_SECURE_CONFIG_PARAM_THREADS_PER_CPU"] = "2.5" gfu = GenomeFileUtil(self.cfg) - self.assertEqual(gfu.max_threads, 10) + self.assertEqual(gfu.max_threads, 16) self.assertEqual(gfu.threads_per_cpu, 2.5) def test_valid_default_catalog_param_type(self):