def test_given_unnamed_distribution_when_distribution_is_archive_then_true(self): distribution = 'xivo-ftw' is_archive = xivo_dist.distribution_is_archive(distribution) self.assertTrue(is_archive)
def test_given_named_distribution_when_distribution_is_archive_then_false(self): distribution = 'xivo-dev' is_archive = xivo_dist.distribution_is_archive(distribution) self.assertFalse(is_archive)