-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
733 additions
and
820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
from tests.base_tests import ( | ||
GenericFitTests, | ||
GenericTransformTests, | ||
OtherBaseBehaviourTests, | ||
TwoColumnListInitTests, | ||
) | ||
|
||
|
||
class TestInit(TwoColumnListInitTests): | ||
"""Generic tests for transformer.init().""" | ||
|
||
@classmethod | ||
def setup_class(cls): | ||
cls.transformer_name = "BaseTwoColumnTransformer" | ||
|
||
|
||
class TestFit(GenericFitTests): | ||
"""Generic tests for transformer.fit()""" | ||
|
||
@classmethod | ||
def setup_class(cls): | ||
cls.transformer_name = "BaseTwoColumnTransformer" | ||
|
||
|
||
class TestTransform(GenericTransformTests): | ||
@classmethod | ||
def setup_class(cls): | ||
cls.transformer_name = "BaseTwoColumnTransformer" | ||
|
||
|
||
class TestOtherBaseBehaviour(OtherBaseBehaviourTests): | ||
""" | ||
Class to run tests for BaseTransformerBehaviour outside the three standard methods. | ||
May need to overwite specific tests in this class if the tested transformer modifies this behaviour. | ||
""" | ||
|
||
@classmethod | ||
def setup_class(cls): | ||
cls.transformer_name = "BaseTwoColumnTransformer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.