Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit b6fb2ee

Browse files
committed
fix guide test
1 parent cce0ac4 commit b6fb2ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_examples.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def examples_dir():
6868
('raw', 'simple/raw/'),
6969
('json', 'simple/json/'),
7070
('thrift', 'simple/thrift/'),
71-
('thrift', 'guide/keyvalue/keyvalue'),
71+
('guide', 'guide/keyvalue/keyvalue/'),
7272
)
7373
)
7474
def test_example(examples_dir, scheme, path):
@@ -89,6 +89,11 @@ def test_example(examples_dir, scheme, path):
8989

9090
out = client.stdout.read()
9191

92+
# TODO the guide test should be the same as others
93+
if scheme == 'guide':
94+
assert out == 'Hello, world!\n'
95+
return
96+
9297
body, headers = out.split(os.linesep)[:-1]
9398

9499
if scheme == 'raw':

0 commit comments

Comments
 (0)