Skip to content

Commit

Permalink
relocate impl_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangs18 committed Jan 9, 2024
1 parent 6868780 commit 551481e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added test/genome_tests/__init__.py
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 551481e

Please sign in to comment.