Skip to content

Commit

Permalink
test: extend match to account for wildcard text (#31)
Browse files Browse the repository at this point in the history
For some reason, the test in pytest 5.x has stopped working with the
existing test case - which has extra text beyond this string, so apply a
wildcard (as probably should have been done originally).

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
  • Loading branch information
miketheman authored Oct 1, 2019
1 parent 08283e8 commit daeaf68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_help_message(testdir):
)
result.stdout.fnmatch_lines([
'socket:',
'*--disable-socket*Disable socket.socket by default to block network'
'*--disable-socket*Disable socket.socket by default to block network*'
])


Expand Down

0 comments on commit daeaf68

Please sign in to comment.