mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-03 14:08:12 +08:00
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:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user