def test_deprecated_related_indicators(self): from stix.indicator import Indicator c = campaign.Campaign() c.related_indicators.append(Indicator()) self.assertEqual(1, len(c.related_indicators))
def test_deprecated_related_packages(self): c = campaign.Campaign() c.related_packages.append(STIXPackage())