Skip to content
Snippets Groups Projects
Commit 185a7676 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Remove testing of creating a directory

The sampler no longer, by default, creates an ourput directory
parent bc725416
No related branches found
No related tags found
1 merge request!123Minor fix to the creating of `outdir`
Pipeline #
......@@ -35,7 +35,7 @@ class TestSampler(unittest.TestCase):
outdir=test_directory, use_ratio=False)
def tearDown(self):
os.rmdir(self.sampler.outdir)
#os.rmdir(self.sampler.outdir)
del self.sampler
def test_search_parameter_keys(self):
......@@ -88,8 +88,8 @@ class TestSampler(unittest.TestCase):
print(expected_result.__dict__)
self.assertDictEqual(self.sampler.result.__dict__, expected_result.__dict__)
def test_make_outdir_if_no_outdir_exists(self):
self.assertTrue(os.path.isdir(self.sampler.outdir))
#def test_make_outdir_if_no_outdir_exists(self):
# self.assertTrue(os.path.isdir(self.sampler.outdir))
def test_prior_transform_transforms_search_parameter_keys(self):
self.sampler.prior_transform([0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment