Starting to use Uniglot for hooks standardization.
This commit is contained in:
8
tests/test_hooks.py
Normal file
8
tests/test_hooks.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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 == ''
|
Reference in New Issue
Block a user