Skip to content

Commit

Permalink
Merge pull request #254 from CybercentreCanada/feature/safelist_signa…
Browse files Browse the repository at this point in the history
…tures

fix safelist tests
  • Loading branch information
cccs-rs authored Aug 30, 2021
2 parents 4454758 + 4ebede2 commit de66431
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_safelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def test_safelist_add_file(datastore, login_session):
'size': random.randint(128, 4096),
'type': 'document/text'},
'sources': [NSRL_SOURCE, ADMIN_SOURCE],
'signature': None,
'type': 'file'
}

Expand Down Expand Up @@ -123,6 +124,7 @@ def test_safelist_add_tag(datastore, login_session):
'tag': {'type': tag_type,
'value': tag_value},
'sources': [NSRL_SOURCE, ADMIN_SOURCE],
'signature': None,
'type': 'tag'
}

Expand Down Expand Up @@ -185,6 +187,7 @@ def test_safelist_update(datastore, login_session):
'size': random.randint(128, 4096),
'type': 'document/text'},
'sources': [NSRL_SOURCE],
'signature': None,
'type': 'file'
}

Expand Down

0 comments on commit de66431

Please sign in to comment.