Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
snakefood / test / test_roots.py
Size: Mime:
"""
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'))