Remove call to nonexistent NoSuchContext exception

The base context plugin raised the nonexistent NoSuchContext exception
if you try to use a context that doesn't exist. This change replaces
that with the generic RallyException to avoid creating yet another new
exception subclass.

Change-Id: I6679db790d0384847852a674e471efe7e6098e88
This commit is contained in:
Chris St. Pierre
2015-07-23 14:24:30 -05:00
parent 104d7433f7
commit add1710f7e

View File

@@ -1515,6 +1515,11 @@ class FakeContext(context.Context):
pass
@context.context(name="fake_hidden_context", order=1, hidden=True)
class FakeHiddenContext(FakeContext):
pass
@context.context(name="fake_user_context", order=1)
class FakeUserContext(FakeContext):