Exemplo n.º 1
0
def test_packages():
    for f in os.listdir(PACKAGES_PATH):
        if not f.endswith('.yaml'):
            continue
        path = os.path.join(PACKAGES_PATH, f)
        package = yaml.load(open(path, "r").read())
        name = package["name"]
        call("dash.py install %s" % name.lower(), silence=False)
        assert_docset_exists(name)
Exemplo n.º 2
0
def test_download_zip_from_rtfd():
    call("dash.py install chump", silence=False)
    assert_docset_exists("Chump")
Exemplo n.º 3
0
def test_download_docset_from_rtfd():
    call("dash.py install requests", silence=False)
    assert_docset_exists("requests")