Skip to content

Commit 522c336

Browse files
author
Andrei Neagu
committed
minor
1 parent 917b9e8 commit 522c336

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/pytest-simcore/src/pytest_simcore/simcore_services.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,12 @@ class ServiceHealthcheckEndpoint:
115115
@classmethod
116116
def create(cls, service_name: str, baseurl):
117117
# TODO: unify healthcheck policies see https://github.com/ITISFoundation/osparc-simcore/pull/2281
118-
obj = cls(
118+
return cls(
119119
name=service_name,
120120
url=URL(
121121
f"{baseurl}{MAP_SERVICE_HEALTHCHECK_ENTRYPOINT.get(service_name, DEFAULT_SERVICE_HEALTHCHECK_ENTRYPOINT)}"
122122
),
123123
)
124-
return obj
125124

126125

127126
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)