Skip to content
Snippets Groups Projects
Commit 3f76af9b authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

update tests

parent e29b6965
No related branches found
No related tags found
1 merge request!506CAPO handling for NAASC submission
Pipeline #2902 passed
This commit is part of merge request !506. Comments created here will be created in the context of that merge request.
......@@ -49,7 +49,3 @@ class RemoteProcessingSites(Enum):
@classmethod
def values(cls):
return cls._value2member_map_
@classmethod
def is_remote(cls, remote_type: str):
return remote_type in cls.values()
......@@ -45,11 +45,9 @@ class CapoInjector:
"""
parameters = self.request.argument
remote_types = RemoteProcessingSites.values()
if any([key in remote_types for key in parameters]) and RemoteWorkflows.is_remote(
return any([key in remote_types for key in parameters]) and RemoteWorkflows.is_remote(
wf_name=self.request.workflow_name
):
return True
return False
)
def identify_subspace(self) -> ListView:
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment