Exemple #1
0
 def test_uri_to_stub(self):
     uri_string = uri.generate_stub(123, 'This is the list title')
     self.assertEqual(uri_string, '123-this-is-the-list-title')
Exemple #2
0
 def test_no_title(self):
     uri_string = uri.generate_stub(123)
     self.assertEqual(uri_string, '123')