Skip to content

Commit

Permalink
delete unused class in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sann5 committed May 7, 2024
1 parent 7d0c09f commit 8de0120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions q2_moshpit/busco/tests/test_busco_feature_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@
from q2_moshpit.busco.busco import (
_run_busco, _visualize_busco, evaluate_busco
)
from unittest.mock import patch, ANY, Mock, MagicMock
from unittest.mock import patch, ANY, MagicMock
from qiime2.plugin.testing import TestPluginBase
from q2_types.feature_data_mag import MAGSequencesDirFmt


class MockContext(Mock):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.get_action = Mock()


class TestBUSCOFeatureData(TestPluginBase):
package = "q2_moshpit.busco.tests"

Expand Down
8 changes: 1 addition & 7 deletions q2_moshpit/busco/tests/test_busco_sample_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,11 @@
_run_busco, _busco_helper, _evaluate_busco,
_visualize_busco, evaluate_busco
)
from unittest.mock import patch, ANY, call, Mock, MagicMock
from unittest.mock import patch, ANY, call, MagicMock
from qiime2.plugin.testing import TestPluginBase
from q2_types.per_sample_sequences._format import MultiMAGSequencesDirFmt


class MockContext(Mock):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.get_action = Mock()


class TestBUSCOSampleData(TestPluginBase):
package = "q2_moshpit.busco.tests"

Expand Down

0 comments on commit 8de0120

Please sign in to comment.