示例#1
0
 def test_dev(self):
     self.assertEqual('0.4.1.dev', get_version())
示例#2
0
 def test_no_modifier(self):
     self.assertEqual('0.4.1', get_version())
示例#3
0
 def test_beta(self):
     self.assertEqual('0.4.1b', get_version())
示例#4
0
 def test_alpha(self):
     self.assertEqual('0.4.1a', get_version())
示例#5
0
 def test_rc(self):
     self.assertEqual('0.4.1rc', get_version())
示例#6
0
 def test_rc_num(self):
     self.assertEqual('0.4.1rc4', get_version())
示例#7
0
 def test_no_modifier(self):
     self.assertEqual("0.4.1", get_version())
示例#8
0
 def test_final(self):
     self.assertEqual('0.4.1', get_version())
示例#9
0
 def test_alpha(self):
     self.assertEqual("0.4.1a", get_version())
示例#10
0
 def test_dev(self):
     self.assertEqual("0.4.1.dev", get_version())
示例#11
0
 def test_beta(self):
     self.assertEqual("0.4.1b", get_version())
示例#12
0
 def test_rc_num(self):
     self.assertEqual("0.4.1rc4", get_version())
示例#13
0
 def test_rc(self):
     self.assertEqual("0.4.1rc", get_version())
示例#14
0
 def test_final(self):
     self.assertEqual("0.4.1", get_version())
示例#15
0
 def test_none_modifier(self):
     self.assertEqual('0.4.1', get_version())