Commits

David Chambers  committed 30e2da5

Added unit test for document slugs containing a full stop.

  • Participants
  • Parent commits 66f4b3c

Comments (0)

Files changed (1)

         urls = create_document('test').urls
         self.assertEqual(urls['canon']['rel'], '%stest/' % self.mount_point)
 
+    def test_multiple_full_stops(self):
+        urls = create_document('mango-0.5-released.text').urls
+        self.assertEqual(urls['canon']['rel'], '%smango-0.5-released/' % self.mount_point)
+
 
 class TimeZoneTests(unittest.TestCase):