We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] some unittests are actually integration tests
For instance:
class TestEnsembles(TestCase): def setUp(self) -> None: self.data_path = os.path.join(TEST_DIR, 'data') dataset = os.path.join(self.data_path, "dataset_sweet_3d_balanced.sdf") loader = SDFLoader(dataset, labels_fields='_SWEET') self.binary_dataset = loader.create_dataset() dataset = loader.create_dataset() splitter = SingletaskStratifiedSplitter() MorganFingerprint().featurize(dataset) self.train_dataset, self.test_dataset = splitter.train_test_split(dataset)
This test is using the components SDFLoader, SingletaskStratifiedSplitter, and MorganFingerprint.
SDFLoader
SingletaskStratifiedSplitter
MorganFingerprint
We should be mocking these methods in the unittests.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[FIX] some unittests are actually integration tests
For instance:
This test is using the components
SDFLoader
,SingletaskStratifiedSplitter
, andMorganFingerprint
.We should be mocking these methods in the unittests.
The text was updated successfully, but these errors were encountered: