Skip to content

Commit 0306061

Browse files
committed
Fix broken test from new usage examples to match the expected counts
1 parent f79ecd0 commit 0306061

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_directives.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def test_loading_request_from_file():
6262
with open(os.path.join(app.outdir, "usage.html")) as fp:
6363
result = fp.read()
6464
result = result.split("Examples with external sources")[-1]
65-
assert result.count("http-example-http") == 6
65+
assert result.count("http-example-http") == 8
6666
assert result.count("http-example-response") == 3
67-
assert result.count("http-example-curl") == 3
67+
assert result.count("http-example-curl") == 4
6868
finally:
6969
app.cleanup()
7070

0 commit comments

Comments
 (0)