8000 Adjusted enable/disable processor tests for new output from API · apilaskowski/python-docs-samples@ab01937 · GitHub
[go: up one dir, main page]

Skip to content

Commit ab01937

Browse files
holtskinnerdandhlee
authored andcommitted
Adjusted enable/disable processor tests for new output from API
1 parent d19071f commit ab01937

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentai/snippets/disable_processor_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_disable_processor(capsys):
2929
)
3030
out, _ = capsys.readouterr()
3131

32-
assert "projects" in out or "DISABLED" in out
32+
assert "projects" in out or "Processor" in out
3333

3434
# Re-Enable Processor
3535
enable_processor_sample.enable_processor_sample(

documentai/snippets/enable_processor_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_enable_processor(capsys):
2929
)
3030
out, _ = capsys.readouterr()
3131

32-
assert "projects" in out or "ENABLED" in out
32+
assert "projects" in out or "Processor" in out
3333

3434
# Re-Disable Processor
3535
disable_processor_sample.disable_processor_sample(

0 commit comments

Comments
 (0)
0