Skip to content

Commit

Permalink
Adding test config
Browse files Browse the repository at this point in the history
  • Loading branch information
yadudoc committed Oct 1, 2024
1 parent ee4d240 commit fb37781
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions parsl/tests/configs/globus_compute.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import os

from parsl.config import Config
from parsl.executors import GlobusComputeExecutor


def fresh_config():

endpoint_id = os.environ.get("GLOBUS_COMPUTE_ENDPOINT",
"4b116d3c-1703-4f8f-9f6f-39921e5864df")
return Config(
executors=[
GlobusComputeExecutor(
endpoint_id=endpoint_id
)
]
)
4 changes: 4 additions & 0 deletions parsl/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ def pytest_configure(config):
'markers',
'executor_supports_std_stream_tuples: Marks tests that require tuple support for stdout/stderr'
)
config.addinivalue_line(
'markers',
'globus_compute: Marks tests that require a valid globus_compute target'
)


@pytest.fixture(autouse=True, scope='session')
Expand Down

0 comments on commit fb37781

Please sign in to comment.