-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: change
substratest.client.Client
to a call to `substra.Clien…
…t` with updated defaults Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
- Loading branch information
1 parent
a52ee12
commit e36d633
Showing
2 changed files
with
5 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
class TError(Exception): | ||
"""Substra Test Error.""" | ||
from substra.exception import FutureError | ||
|
||
|
||
class FutureTimeoutError(TError): | ||
"""Future execution timed out.""" | ||
|
||
|
||
class FutureFailureError(TError): | ||
"""Future execution failed.""" | ||
|
||
|
||
class SynchronizationTimeoutError(TError): | ||
class SynchronizationTimeoutError(FutureError): | ||
"""Asset could not be synchronized inn time.""" |