diff options
author | Thomas Coldrick <thomas.coldrick@codethink.co.uk> | 2020-01-17 15:22:06 +0000 |
---|---|---|
committer | Thomas Coldrick <thomas.coldrick@codethink.co.uk> | 2020-01-23 16:45:35 +0000 |
commit | 8aa7e8b6c2ca418aafddf4ce308a9d0ff56cf467 (patch) | |
tree | 01fef02fe2ca9634b1ede36d5b96fab66a6532f5 /tests/frontend/workspace.py | |
parent | bf5f20704831f58d7ced04e960ca8f7b97c6736c (diff) | |
download | buildstream-8aa7e8b6c2ca418aafddf4ce308a9d0ff56cf467.tar.gz |
exceptions: Expose ErrorDomain, ErrorLoadReason
Plugin tests are already accessing this API, but using imports from
private modules. For motivation for this to be exposed publicly, note
that ErrorDomain is an argument for most things in runcli.py, and
LoadErrorReason may be another.
Diffstat (limited to 'tests/frontend/workspace.py')
-rw-r--r-- | tests/frontend/workspace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py index eabaca68c..e05b6bd1f 100644 --- a/tests/frontend/workspace.py +++ b/tests/frontend/workspace.py @@ -37,7 +37,7 @@ import pytest from buildstream.testing import create_repo, ALL_REPO_KINDS from buildstream.testing import cli # pylint: disable=unused-import from buildstream import _yaml -from buildstream._exceptions import ErrorDomain, LoadErrorReason +from buildstream.exceptions import ErrorDomain, LoadErrorReason from buildstream._workspaces import BST_WORKSPACE_FORMAT_VERSION from tests.testutils import create_artifact_share, create_element_size, wait_for_cache_granularity |