Ejemplo n.º 1
0
 def test_splitversion_prefix(self):
     self.assertEquals(bv.splitversion("1.2-cosent-2.8"), ("1.2-cosent", "2.8", "2.8", "", ""))
Ejemplo n.º 2
0
 def test_splitversion_dev(self):
     self.assertEquals(bv.splitversion("2.8dev"), ("", "2.8dev", "2.8", "", ""))
     self.assertEquals(bv.splitversion("2.8dev2"), ("", "2.8dev2", "2.8", "", "2"))
Ejemplo n.º 3
0
 def test_splitversion_rc(self):
     self.assertEquals(bv.splitversion("2.8rc"), ("", "2.8rc", "2.8", "", ""))
     self.assertEquals(bv.splitversion("2.8rc1"), ("", "2.8rc1", "2.8", "1", ""))
Ejemplo n.º 4
0
 def test_splitversion_final(self):
     self.assertEquals(bv.splitversion("2.8"), ("", "2.8", "2.8", "", ""))
Ejemplo n.º 5
0
 def test_splitversion_prefix(self):
     self.assertEquals(bv.splitversion('1.2-cosent-2.8'),
                       ('1.2-cosent', '2.8', '2.8', '', ''))
Ejemplo n.º 6
0
 def test_splitversion_rc(self):
     self.assertEquals(bv.splitversion('2.8rc'),
                       ('', '2.8rc', '2.8', '', ''))
     self.assertEquals(bv.splitversion('2.8rc1'),
                       ('', '2.8rc1', '2.8', '1', ''))
Ejemplo n.º 7
0
 def test_splitversion_dev(self):
     self.assertEquals(bv.splitversion('2.8dev'),
                       ('', '2.8dev', '2.8', '', ''))
     self.assertEquals(bv.splitversion('2.8dev2'),
                       ('', '2.8dev2', '2.8', '', '2'))
Ejemplo n.º 8
0
 def test_splitversion_final(self):
     self.assertEquals(bv.splitversion('2.8'), ('', '2.8', '2.8', '', ''))