Permalink
Browse files

Added failing test for Issue #18.

  • Loading branch information...
ralphbean committed May 9, 2012
1 parent fbe2b69 commit e962a03fbe15f830bd10e276b7ad3d5c4bac9ee3
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/test_resources.py
@@ -315,6 +315,10 @@ def testLinkHash(self):
l = twr.Link(link="http://google.com")
self.assert_(hash(l.req())) # meh
def testAutoModname(self):
l = twr.Link(filename="somefile")
eq_(l.modname, __name__)
def testAutoModnameReqPrep(self):
l = twr.Link(filename="somefile")
l = l.req()

0 comments on commit e962a03

Please sign in to comment.