def test_package_summary(self):
     """Test the generation of the package summary."""
     rules = self.production_rules
     package = Package(rules, 'test-package')
     package.generate_summary_and_changelog(package.changed_ids,
                                            package.new_ids,
                                            package.removed_ids)
Exemple #2
0
 def test_package_summary(self):
     """Test the generation of the package summary."""
     rules = rule_loader.get_production_rules()
     package = Package(rules, 'test-package')
     changed_rule_ids, new_rule_ids, deprecated_rule_ids = package.bump_versions(
         save_changes=False)
     package.generate_summary_and_changelog(changed_rule_ids, new_rule_ids,
                                            deprecated_rule_ids)