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)
def test_download_zip_from_rtfd(): call("dash.py install chump", silence=False) assert_docset_exists("Chump")
def test_download_docset_from_rtfd(): call("dash.py install requests", silence=False) assert_docset_exists("requests")