Skip to content

Commit 67cad68

Browse files
aiordacheulyssessouza
authored andcommitted
add test for context load without orchestrator
Signed-off-by: aiordache <[email protected]>
1 parent 31276df commit 67cad68

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/integration/context_api_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ def test_context_remove(self):
5050
ContextAPI.remove_context("test")
5151
with pytest.raises(errors.ContextNotFound):
5252
ContextAPI.inspect_context("test")
53+
54+
def test_load_context_without_orchestrator(self):
55+
ContextAPI.create_context("test")
56+
ctx = ContextAPI.get_context("test")
57+
assert ctx
58+
assert ctx.Name == "test"
59+
assert ctx.Orchestrator is None

0 commit comments

Comments
 (0)