def test_setup_pbuilder(self): self.assertEqual(setup_pbuilder(self.options, self.repo, True), ({ 'GBP_PBUILDER_DIST': 'sid', 'DIST': 'sid' }, { 'GBP_PBUILDER_DIST': 'sid' }))
def test_setup_pbuilder_arch(self): self.options.pbuilder_arch = 'arm64' self.assertEqual(setup_pbuilder(self.options, self.repo, True), ({'ARCH': 'arm64', 'DIST': 'sid', 'GBP_PBUILDER_ARCH': 'arm64', 'GBP_PBUILDER_DIST': 'sid'}, {'GBP_PBUILDER_ARCH': 'arm64', 'GBP_PBUILDER_DIST': 'sid'}))
def test_setup_pbuilder(self): self.assertEqual(setup_pbuilder(self.options, self.repo, True), ({'GBP_PBUILDER_DIST': 'sid', 'DIST': 'sid'}, {'GBP_PBUILDER_DIST': 'sid'}))