Esempio n. 1
0
 def test_plexus_utils(self):
     """ Regression test for issue #286 """
     project = model.Project(
         version_url='codehaus-plexus/plexus-archiver',
         version_prefix='plexus-archiver-',
     )
     version = backend.GithubBackend().get_version(project)
     self.assertEqual(u'3.3', version)
Esempio n. 2
0
 def test_plexus_utils(self):
     """ Regression test for issue #286 """
     project = models.Project(
         version_url="codehaus-plexus/plexus-archiver",
         version_prefix="plexus-archiver-",
         backend=BACKEND,
     )
     version = backend.GithubBackend().get_version(project)
     self.assertEqual("plexus-archiver-3.6.0", version)
Esempio n. 3
0
 def test_gargoyle(self):
     """ Regression test for issue #642 """
     project = models.Project(
         version_url='garglk/garglk',
         version_scheme='Date',
         backend=BACKEND,
     )
     version = backend.GithubBackend().get_version(project)
     self.assertEqual(u'stable-2011.1', version)