smnall fix to the test suite. (#1944)

I noticed a few tests failed when run individually, but not as a suite.

 #1942
This commit is contained in:
bmccandless
2020-10-23 15:14:31 -07:00
committed by GitHub
parent 2fa206f2ad
commit c106ebc525
2 changed files with 7 additions and 5 deletions
@@ -16,6 +16,7 @@ class DataLoadAdaptorTest(unittest.TestCase):
self.data_file = DataLocator(f"{PROJECT_ROOT}/example-dataset/pbmc3k.h5ad")
config = AppConfig()
config.update_server_config(single_dataset__datapath=self.data_file.path)
config.update_server_config(app__flask_secret_key="secret")
config.complete_config()
self.data = AnndataAdaptor(self.data_file, config)
@@ -45,6 +46,7 @@ class DataLocatorAdaptorTest(unittest.TestCase):
config.update_server_config(
single_dataset__obs_names=None, single_dataset__var_names=None,
)
config.update_server_config(app__flask_secret_key="secret")
config.update_default_dataset_config(
embeddings__names=["umap"], presentation__max_categories=100, diffexp__lfc_cutoff=0.01,
)