Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tests for ScanPgp, ScanPlist, ScanNf, Updates for ScanOle#287

Merged
phutelmyer merged 10 commits intotarget:masterfrom
ryanohoro:test_coverage
Jan 18, 2023
Merged

Tests for ScanPgp, ScanPlist, ScanNf, Updates for ScanOle#287
phutelmyer merged 10 commits intotarget:masterfrom
ryanohoro:test_coverage

Conversation

@ryanohoro
Copy link
Collaborator

Describe the change

Adds tests for ScanPgp, ScanPlist, ScanNf

Updates tests for ScanOle

Updates PGP taste for broader support for PGP file types

Adds binary file support to ScanPgp

Fixes an uncaught exception in ScanOle preventing full extraction in some cases

Describe testing procedures

============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-7.2.0, pluggy-1.0.0
rootdir: /strelka
plugins: mock-3.10.0, unordered-0.5.2
collected 91 items
...
tests/test_scan_nf.py ....
tests/test_scan_ocr.py .
tests/test_scan_ole.py ....
tests/test_scan_pcap.py ..
tests/test_scan_pdf.py .
tests/test_scan_pe.py .
tests/test_scan_pgp.py ....
tests/test_scan_plist.py .

...
======================= 91 passed, 28 warnings in 36.81s =======================

Sample output

No changes

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of and tested my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@phutelmyer phutelmyer merged commit a367fb7 into target:master Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants