Skip to content

Commit

Permalink
update tests per new CybOX release
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanvg committed Mar 9, 2020
1 parent 144cba3 commit 794eafb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions stix/test/coa_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ class COATests(EntityTestCase, unittest.TestCase):
},
'objective': ObjectiveTests._full_dict,
'parameter_observables': {
'major_version': 2,
'minor_version': 1,
'update_version': 0,
'cybox_major_version': '2',
'cybox_minor_version': '1',
'cybox_update_version': '0',
'observables': [
{
'idref': "example:Observable-1"
Expand Down
6 changes: 3 additions & 3 deletions stix/test/core/stix_package_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ class STIXPackageTests(EntityTestCase, unittest.TestCase):
'incidents': IncidentsTests._full_dict,
'indicators': IndicatorsTests._full_dict,
'observables': {
'major_version': 2,
'minor_version': 1,
'update_version': 0,
'cybox_major_version': '2',
'cybox_minor_version': '1',
'cybox_update_version': '0',
'observables': [
{
'idref': "example:Observable-1"
Expand Down
12 changes: 6 additions & 6 deletions stix/test/ttp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class InfrastructureTests(EntityTestCase, unittest.TestCase):
'short_description': 'Short Description',
'types': ['foo', 'bar'],
'observable_characterization': {
'major_version': 2,
'minor_version': 1,
'update_version': 0,
'cybox_major_version': '2',
'cybox_minor_version': '1',
'cybox_update_version': '0',
'observables': [
{
'idref': "example:Observable-1"
Expand Down Expand Up @@ -167,9 +167,9 @@ class VictimTargetingTests(EntityTestCase, unittest.TestCase):
}
],
'targeted_technical_details': {
'major_version': 2,
'minor_version': 1,
'update_version': 0,
'cybox_major_version': '2',
'cybox_minor_version': '1',
'cybox_update_version': '0',
'observables': [
{
'idref': "example:Observable-2"
Expand Down

0 comments on commit 794eafb

Please sign in to comment.