Exemplo n.º 1
0
 def test_not_implemented(self):
     # TODO switch the NotImplemented to the other side
     handler = BaseHandler()
     self.assertEquals(NotImplemented, handler.title)
     self.assertEquals(NotImplemented, handler.url)
     self.assertEquals(NotImplemented, handler.repo_regex)
     self.assertEquals(NotImplemented, handler.slug_regex)
     self.assertEquals(NotImplemented, handler.__str__())
     self.assertEquals(NotImplemented, handler.fetch_metadata(self.package))
     self.assertEquals(NotImplemented, handler.fetch_commits(self.package))
Exemplo n.º 2
0
 def test_not_implemented(self):
     # TODO switch the NotImplemented to the other side
     handler = BaseHandler()
     self.assertEquals(NotImplemented, handler.title)
     self.assertEquals(NotImplemented, handler.url)
     self.assertEquals(NotImplemented, handler.repo_regex)
     self.assertEquals(NotImplemented, handler.slug_regex)
     self.assertEquals(NotImplemented, handler.__str__())
     self.assertEquals(NotImplemented, handler.fetch_metadata(self.package))
     self.assertEquals(NotImplemented, handler.fetch_commits(self.package))
Exemplo n.º 3
0
 def test_is_other(self):
     handler = BaseHandler()
     self.assertEquals(handler.is_other, False)