Skip to content

Commit

Permalink
Adjusted enable/disable processor tests for new output from API
Browse files Browse the repository at this point in the history
  • Loading branch information
holtskinner committed Jan 5, 2023
1 parent d1e144d commit 455bdac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentai/snippets/disable_processor_sample_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_disable_processor(capsys):
)
out, _ = capsys.readouterr()

assert "projects" in out or "DISABLED" in out
assert "projects" in out or "Processor" in out

# Re-Enable Processor
enable_processor_sample.enable_processor_sample(
Expand Down
2 changes: 1 addition & 1 deletion documentai/snippets/enable_processor_sample_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_enable_processor(capsys):
)
out, _ = capsys.readouterr()

assert "projects" in out or "ENABLED" in out
assert "projects" in out or "Processor" in out

# Re-Disable Processor
disable_processor_sample.disable_processor_sample(
Expand Down

0 comments on commit 455bdac

Please sign in to comment.