This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some tests and fixes for NewTaskComputer
* Refactored _get_task_api_service() and _get_task_dir() to use _assigned_task instead of method parameters. * Added support_direct_computation property to TaskComputerAdapter (needed by dummy task computation). * Fixed DummyTask.computation_failed() which had passing None value as a not-none parameter to DummyTask.computation_finished(). * Added unit test for NewTaskComputer._get_task_api_service() * Moved _runtime assignment after calling _app_client.compute() in NewTaskComputer.compute() (otherwise it would be always None).
- Loading branch information
Showing
4 changed files
with
83 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters