Example #1
0
    def test_pip_show_all(self):
        fLOG(
            __file__,
            self._testMethodName,
            OutputPrint=__name__ == "__main__")

        info = get_package_info(start=0, end=2)
        df = pandas.DataFrame(info)
        assert len(info) > 0
        assert isinstance(info[0], dict)

        if __name__ == "__mahin__":
            info = get_package_info(fLOG=fLOG)
            df = pandas.DataFrame(info)
            df.to_excel("out_packages.xlsx")
Example #2
0
    def test_pip_show(self):
        fLOG(
            __file__,
            self._testMethodName,
            OutputPrint=__name__ == "__main__")

        info = get_package_info("pandas")
        # if "license" not in info:
        #    raise Exception(str(info))
        if "version" not in info:
            raise Exception(str(info))

        if is_travis_or_appveyor() != "travis" and sys.version_info[0] >= 3:
            info = get_package_info("sphinx")
            # if "license" not in info:
            #    raise Exception(str(info))
            if "version" not in info:
                raise Exception(str(info))
Example #3
0
    def test_pip_show(self):
        fLOG(
            __file__,
            self._testMethodName,
            OutputPrint=__name__ == "__main__")

        info = get_package_info("pandas")
        # if "license" not in info:
        #    raise Exception(str(info))
        if "version" not in info:
            raise Exception(str(info))

        if "travis" not in sys.executable:
            info = get_package_info("sphinx-py3doc-enhanced-theme")
            # if "license" not in info:
            #    raise Exception(str(info))
            if "version" not in info:
                raise Exception(str(info))