Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
replace hard coded string
Browse files Browse the repository at this point in the history
  • Loading branch information
Toan Quach authored and Toan Quach committed Nov 29, 2023
1 parent b6f3598 commit e8636d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/core/job/test_job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from src.taipy.core.job._job_manager import _JobManager
from src.taipy.core.job.job_id import JobId
from src.taipy.core.job.status import Status
from src.taipy.core.scenario.scenario import Scenario
from src.taipy.core.submission._submission_manager_factory import _SubmissionManagerFactory
from src.taipy.core.task._task_manager import _TaskManager
from src.taipy.core.task.task import Task
Expand Down Expand Up @@ -349,8 +350,8 @@ def test_cancel_subsequent_jobs():
task_3 = Task("task_config_3", {}, print, [dn_4], id="task_3")

# Can't get tasks under 1 scenario due to partial not serializable
submission_1 = submission_manager._create("scenario_id", "SCENARIO")
submission_2 = submission_manager._create("scenario_id", "SCENARIO")
submission_1 = submission_manager._create("scenario_id", Scenario._ID_PREFIX)
submission_2 = submission_manager._create("scenario_id", Scenario._ID_PREFIX)

_DataManager._set(dn_1)
_DataManager._set(dn_2)
Expand Down

0 comments on commit e8636d0

Please sign in to comment.