* services/command/controller.py (ProtoManager.start): Remove dead
code after return.
* tests/twisted/network/test_newsite.py (TestNewSite.confirmRelativeLinksReddit):
Reddit urls keep changing. Include a www now.
git-svn-id: svn://trac.whoisi.com/whoisi/trunk@3
ae879524-a8bd-4c4c-a5ea-
74d2e5fc5a2c
+2008-10-07 Christopher Blizzard <blizzard@0xdeadbeef.com>
+
+ * services/command/controller.py (ProtoManager.start): Remove dead
+ code after return.
+
+ * tests/twisted/network/test_newsite.py (TestNewSite.confirmRelativeLinksReddit):
+ Reddit urls keep changing. Include a www now.
+
+
2008-09-30 Christopher Blizzard <blizzard@0xdeadbeef.com>
* tests/nose/test_newsite.py (TestNewSite.test_delicious): Add
self.args = args
self.work_d = defer.Deferred()
return self.doCommand(*args)
- d = self.doCommand(*args)
- d.addCallback(self.succeeded)
- d.addErrback(self.failed)
-
- return self.work_d
def succeeded(self, *args, **kw):
print("%s done" % self.uuid)
s.sync()
print(s.url)
- assert(s.url == "http://reddit.com/")
+ assert(s.url == "http://www.reddit.com/")
print(s.feed)
assert(s.feed == "http://www.reddit.com/user/jeresig/.rss")
print(s.history[0].link)
- assert(re.match("http://reddit.com/.+", s.history[0].link))
+ assert(re.match("http://www.reddit.com/.+", s.history[0].link))
assert(self.ns.status == "done")