diff --git a/nose_launchable/client.py b/nose_launchable/client.py index 94a39fa..c4d66ea 100644 --- a/nose_launchable/client.py +++ b/nose_launchable/client.py @@ -33,8 +33,6 @@ def _get_base_url(cls): class LaunchableClient: - # TODO: Stop using a fictitious id once the server starts dynamic reordering - FICTITIOUS_ID = "1" CLIENT_NAME = "nose-launchable" def __init__(self, base_url, org_name, workspace_name, token, http): @@ -111,7 +109,7 @@ def _headers(self): def _infer_request_body(self, test): return { "test": test, - "session": {"id": self.FICTITIOUS_ID, "subject": self.FICTITIOUS_ID, "flavors": {}}, + "session": {"id": self.test_session_id, "subject": self.build_number, "flavors": {}}, } def _upload_request_body(self, events):