Skip to content

Commit

Permalink
Added galaxyies to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
iglocska committed Dec 7, 2016
1 parent f96c1b5 commit 13dbaef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def new_event(self):
u'distribution': u'0', u'Attribute': [], u'proposal_email_lock': False,
u'Org': {u'name': u'ORGNAME'},
u'Orgc': {u'name': u'ORGNAME'},
u'threat_level_id': u'1'}}
u'threat_level_id': u'1'},
u'Galaxy': []}
print(event)
self.assertEqual(event, to_check, 'Failed at creating a new Event')
return int(event_id)
Expand All @@ -62,6 +63,7 @@ def add_hashes(self, eventid):
u'ShadowAttribute': [], u'published': False, u'distribution': u'0',
u'Org': {u'name': u'ORGNAME'},
u'Orgc': {u'name': u'ORGNAME'},
u'Galaxy': [],
u'Attribute': [
{u'category': u'Payload installation', u'comment': u'Fanny modules',
u'to_ids': False, u'value': u'dll_installer.dll|0a209ac0de4ac033f31d6ba9191a8f7a',
Expand All @@ -85,6 +87,7 @@ def publish(self, eventid):
u'ShadowAttribute': [], u'published': True, u'distribution': u'0',
u'Org': {u'name': u'ORGNAME'},
u'Orgc': {u'name': u'ORGNAME'},
u'Galaxy': [],
u'Attribute': [
{u'category': u'Payload installation', u'comment': u'Fanny modules',
u'to_ids': False, u'value': u'dll_installer.dll|0a209ac0de4ac033f31d6ba9191a8f7a',
Expand Down

0 comments on commit 13dbaef

Please sign in to comment.