

@mock.patch('debile.master.arches.arch_matches', return_value=True)
def test_get_source_arches_without_matches(self, mock):
    dsc_arch = ['amd64', 'sparc']
    ret = get_source_arches(dsc_arch, self.arches)
    self.assertEquals(ret[0].name, 'amd64')
    self.assertEquals(ret[1].name, 'sparc')

dataset/ETHPy150Open opencollab/debile/tests/test_arches.py ArchesTestCase.test_get_source_arches_without_matches/original