X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=mudpy%2Ftests%2Fselftest.py;h=3b00b48b57d8fbc73d318bb4f6d1028de32c7866;hp=055e50a84c13464c9b29fd8b12c648cc74ed3737;hb=b7a0d21774ff74bcf66315a4d14b788263f41dea;hpb=c01384b805b4b52135264015e35011431710a659 diff --git a/mudpy/tests/selftest.py b/mudpy/tests/selftest.py index 055e50a..3b00b48 100644 --- a/mudpy/tests/selftest.py +++ b/mudpy/tests/selftest.py @@ -181,7 +181,7 @@ test_telnet_iac = ( # unescaped and deduplicated to a single \xff in the buffer and then # the line of input discarded as a non-ASCII sequence (2, "> ", b"say argle\xff\xffbargle\r\0"), - (2, r"Non-ASCII characters from admin: b'say argle\\xffbargle'.*> ", ""), + (2, r"Non-ASCII characters from admin: b'say.*argle\\xffbargle'.*> ", ""), ) test_telnet_unknown_command = ( @@ -475,7 +475,7 @@ def main(): conversant].read_very_eager().decode("utf-8") except Exception: pass - if index is not 0: + if index != 0: tlog("\nERROR: luser%s did not receive expected string:\n\n" "%s\n\n" "Check the end of capture_%s.log for received data."