Exemple #1
0
 def test_release(self):
     """Get version from release."""
     self.assertEqual('vbinary',
                      main.prepare_binary_and_get_version('release'))
     self.assertEqual(
         'vbinary',
         main.prepare_binary_and_get_version('release-candidate'))
Exemple #2
0
 def test_master(self):
     """Get version from master."""
     self.assertEqual('vmaster',
                      main.prepare_binary_and_get_version('master'))