Пример #1
0
    def test_given_unnamed_distribution_when_generate_sources_then_archive_source(self):
        distribution = 'xivo-forever'

        sources = xivo_dist.generate_sources(distribution)

        self._assert_sources(sources, ARCHIVE_URI, distribution)
Пример #2
0
    def test_given_prod_distribution_when_generate_sources_then_prod_debian_source(self):
        distribution = 'xivo-five'

        sources = xivo_dist.generate_sources(distribution)

        self._assert_sources(sources, DEBIAN_URI, distribution)