def test_resolve_targets(): script = Script("build") build = script.resolve_targets(["build"]) default = script.resolve_targets() assert_equal(default, ['parser', 'testing.run', 'tests']) assert len(build) > 0 assert 'build' in build assert 'tests' in build
def test_show(): script = Script("build") script.show()
def test_resolve_depends(): script = Script("build") for target in script.targets: assert target in script.resolve_depends(target)