X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;f=bin%2Ftest;h=0ec35440d72e0d48c61588e3b1b353fafa758da1;hb=015ea384dafbc17070d3c11e84004ca27b866eb9;hp=45ce5aaed057ee5c1be6e1a63202a38553a2bd42;hpb=5d82728fdeedccb3f6e7d9632275723bc7d46b2d;p=mudpy.git diff --git a/bin/test b/bin/test index 45ce5aa..0ec3544 100755 --- a/bin/test +++ b/bin/test @@ -6,6 +6,8 @@ # 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"), @@ -24,7 +26,6 @@ conversation = ( ("Disconnecting...", ""), ) -import telnetlib mud = telnetlib.Telnet() mud.open("::1", 6669) for question, answer in conversation: