Exemple #1
0
 def test_release_override_builder(self):
     self.releaser_config.set('test', 'builder',
                              'tito.builder.UpstreamBuilder')
     releaser = Releaser(PKG_NAME, None, '/tmp/tito/', self.config, {},
                         'test', self.releaser_config, False, False, False,
                         **{'offline': True})
     self.assertTrue(isinstance(releaser.builder, UpstreamBuilder))
     releaser.release(dry_run=True)
Exemple #2
0
 def test_release_override_builder(self):
     self.releaser_config.set('test', 'builder',
         'tito.builder.UpstreamBuilder')
     releaser = Releaser(PKG_NAME, None, '/tmp/tito/',
         self.config, {}, 'test', self.releaser_config, False,
         False, False, **{'offline': True})
     self.assertTrue(isinstance(releaser.builder,
         UpstreamBuilder))
     releaser.release(dry_run=True)
Exemple #3
0
 def test_release(self):
     releaser = Releaser(PKG_NAME, None, '/tmp/tito/',
         self.config, {}, 'test', self.releaser_config, False,
         False, False, **{'offline': True})
     self.assertTrue(isinstance(releaser.builder, Builder))
     releaser.release(dry_run=True)
Exemple #4
0
 def test_release(self):
     releaser = Releaser(PKG_NAME, None, '/tmp/tito/',
         self.config, {}, 'test', self.releaser_config, False,
         False, False, **{'offline': True})
     self.assertTrue(isinstance(releaser.builder, Builder))
     releaser.release(dry_run=True)