Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

More tests for VirusTotal LookupHashesFilter and LookupDomainsFilter #73

Merged
merged 4 commits into from
Feb 17, 2015

Conversation

jjsendor
Copy link
Contributor

@jjsendor jjsendor commented Feb 7, 2015

Closes #51 and #52.

@ivanlei
Copy link

ivanlei commented Feb 8, 2015

This doesn't follow the pattern of testing used for other filters. What they do is:

The benefit of this is that a test like this exercises more of the API code and would be consistent with the existing codebase.

@jjsendor
Copy link
Contributor Author

I have added the cache for test data and removed the mocks for VirusTotalApi.

@@ -74,6 +74,12 @@ def assert_key_added_to_blob(self, added_key, expected_values, input_blobs, outp
del output_blob[added_key]
assert_equal_sorted(input_blob, output_blob)

def load_reports(self, filename):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function can be removed now.

ivanlei pushed a commit that referenced this pull request Feb 17, 2015
More tests for VirusTotal LookupHashesFilter and LookupDomainsFilter
@ivanlei ivanlei merged commit 21fd23c into master Feb 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase test coversage in tests.output_filters.virustotal.lookup_domains_test
2 participants