Skip to content

Commit

Permalink
test_files : Add test for unexpanded macros in files. (#1023)
Browse files Browse the repository at this point in the history
* added test for unexpanded macro in files section
  • Loading branch information
NeerajGartia21 authored Mar 16, 2023
1 parent 5689acc commit 2fa3695
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file not shown.
8 changes: 8 additions & 0 deletions test/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ def chunk_from_pyc(version, size=16):
return f.read(size)


@pytest.mark.parametrize('package', ['binary/unexpanded-macro-files'])
def test_unexpanded_macros(tmpdir, package, filescheck):
output, test = filescheck
test.check(get_tested_package(package, tmpdir))
out = output.print_results(output.results)
assert 'unexpanded-macro' in out


@pytest.mark.parametrize('package', ['binary/python3-power'])
def test_python_bytecode_magic(tmpdir, package, filescheck):
output, test = filescheck
Expand Down

0 comments on commit 2fa3695

Please sign in to comment.