Skip to content

Commit

Permalink
Add dllname test
Browse files Browse the repository at this point in the history
  • Loading branch information
HoundThe authored and PeterMatula committed Feb 14, 2022
1 parent 84401b2 commit ed6d17f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Binary file not shown.
13 changes: 13 additions & 0 deletions tools/fileinfo/features/pull-1060-dllname/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from regression_tests import *

# Test for existance of dllFlags even in EXE files
class Test1(Test):
settings = TestSettings(
tool='fileinfo',
input=['Test32.dll_'],
args='--verbose --json'
)

def test_dllflags_present(self):
assert self.fileinfo.succeeded
self.assertEqual(self.fileinfo.output['dllName'], 'TestDll.dll')

0 comments on commit ed6d17f

Please sign in to comment.