コード例 #1
0
    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))
コード例 #2
0
 def test_deprecated_related_packages(self):
     c = campaign.Campaign()
     c.related_packages.append(STIXPackage())