Skip to content

Commit c0623a4

Browse files
committed
Relax test default hander condition to deal with ordered traits
1 parent f840af1 commit c0623a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple/tests/test_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def test_handler_default(fetch):
1919
)
2020
assert r.code == 200
2121
print(r.body.decode())
22-
assert r.body.decode() == "<h1>Hello Simple 1 - I am the default...</h1>Config in simple_ext1 Default Handler: {'configA': '', 'configB': '', 'configC': ''}"
22+
assert r.body.decode().index('Hello Simple 1 - I am the default...') > -1
2323

2424

2525
async def test_handler_template(fetch):

0 commit comments

Comments
 (0)