projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch password handler to passlib's PBKDF2
[mudpy.git]
/
bin
/
test
diff --git
a/bin/test
b/bin/test
index
45ce5aa
..
a86ddc6
100755
(executable)
--- a/
bin/test
+++ b/
bin/test
@@
-1,11
+1,12
@@
#!/usr/bin/env python
#!/usr/bin/env python
-# -*- coding: utf-8 -*-
"""Regression test script for the mudpy engine."""
"""Regression test script for the mudpy engine."""
-# Copyright (c) 2004-201
3
Jeremy Stanley <fungi@yuggoth.org>. Permission
+# Copyright (c) 2004-201
5
Jeremy Stanley <fungi@yuggoth.org>. Permission
# to use, copy, modify, and distribute this software is granted under
# terms provided in the LICENSE file distributed with this software.
# to use, copy, modify, and distribute this software is granted under
# terms provided in the LICENSE file distributed with this software.
+import telnetlib
+
conversation = (
("Identify yourself:", "testuser"),
("Enter your choice:", "n"),
conversation = (
("Identify yourself:", "testuser"),
("Enter your choice:", "n"),
@@
-24,7
+25,6
@@
conversation = (
("Disconnecting...", ""),
)
("Disconnecting...", ""),
)
-import telnetlib
mud = telnetlib.Telnet()
mud.open("::1", 6669)
for question, answer in conversation:
mud = telnetlib.Telnet()
mud.open("::1", 6669)
for question, answer in conversation: