diff --git a/test/binary/unexpanded-macro-files-0.1-1.noarch.rpm b/test/binary/unexpanded-macro-files-0.1-1.noarch.rpm new file mode 100644 index 000000000..66d7564ba Binary files /dev/null and b/test/binary/unexpanded-macro-files-0.1-1.noarch.rpm differ diff --git a/test/test_files.py b/test/test_files.py index 69e15448e..a21420578 100644 --- a/test/test_files.py +++ b/test/test_files.py @@ -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