Commits

Ralph Bean committed 028b69a

Added failing test for Issue #18.

Comments (0)

Files changed (1)

tests/test_resources.py

         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()