Diff

tests/test.lua @ 4339:63304d323983

tests/test.lua, tests/test_net_http.lua: Tests for net.http's url and form encoding/decoding functions
author Matthew Wild <mwild1@gmail.com>
date Wed, 10 Aug 2011 17:49:37 -0400
parent 3540:bc139431830b
child 4420:4314eeeed394
line wrap: on
line diff
--- a/tests/test.lua	Wed Aug 10 17:49:10 2011 -0400
+++ b/tests/test.lua	Wed Aug 10 17:49:37 2011 -0400
@@ -9,8 +9,10 @@
 
 
 function run_all_tests()
+	package.loaded["net.connlisteners"] = { get = function () return {} end };
 	dotest "util.jid"
 	dotest "util.multitable"
+	dotest "net.http"
 	dotest "core.modulemanager"
 	dotest "core.stanza_router"
 	dotest "core.s2smanager"