Skip to content

Commit

Permalink
simplify test suite usage
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Oct 12, 2023
1 parent faec7b8 commit a18de34
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from snakemake_interface_common.exceptions import WorkflowError


class TestWorkflowsBase(snakemake.common.tests.TestWorkflowsBase):
class TestWorkflowsBase(snakemake.common.tests.TestWorkflowsLocalStorageBase):
def get_executor(self) -> str:
return "cluster-generic"

Expand All @@ -23,17 +23,6 @@ def _get_cmd(self, cmd) -> str:
def _get_executor_settings(self, **kwargs) -> Optional[ExecutorSettingsBase]:
return ExecutorSettings(submit_cmd=self._get_cmd("qsub.sh"), **kwargs)

def get_default_storage_provider(self) -> Optional[str]:
return None

def get_default_storage_prefix(self) -> Optional[str]:
return None

def get_default_storage_provider_settings(
self,
) -> Optional[StorageProviderSettingsBase]:
return None


class TestWorkflowsNoSubmitCmd(TestWorkflowsBase):
__test__ = True
Expand Down

0 comments on commit a18de34

Please sign in to comment.