Ejemplo n.º 1
0
 def test_splitrelease(self):
     version, release = splitrelease("1.0-1.fc13")
     self.assertEquals(version, "1.0")
     self.assertEquals(release, "1.fc13")
Ejemplo n.º 2
0
 def test_distepoch(self):
     version, release = splitrelease("1.0-1-mdv2011.0")
     self.assertEquals(version, "1.0")
     self.assertEquals(release, "1")
Ejemplo n.º 3
0
 def test_distepoch(self):
     version, release = splitrelease("1.0-1-mdv2011.0")
     self.assertEquals(version, "1.0")
     self.assertEquals(release, "1")
Ejemplo n.º 4
0
 def test_splitrelease(self):
     version, release = splitrelease("1.0-1.fc13")
     self.assertEquals(version, "1.0")
     self.assertEquals(release, "1.fc13")