Commits

Ralph Bean  committed 028b69a

Added failing test for Issue #18.

  • Participants
  • Parent commits 38b56fa

Comments (0)

Files changed (1)

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