Repository URL to install this package:
|
Version:
1.4.post2 ▾
|
"""
Test roots computation.
"""
from __future__ import print_function
from os.path import *
from testsupport import *
def test_roots():
"Test that the root directories are being calculated correctly."
for dn in find_dirs(join(data, 'roots')):
print('Testing roots for: %s' % dn)
compare_expect(join(dn, '.expect'), None,
'sfood', '--print-roots', dn, filterdir=(data, 'ROOT'))