Uniglot/tests/test_hooks.py

9 lines
212 B
Python

import os
import pytest
def test_hooks_exec():
fh = os.popen("find Hooks -type f -exec ls -l {} \\; | egrep ^-rw-")
output = fh.read()
retcode = fh.close()
assert retcode == 256 and output == ''