def test_install_local(self):
        """test 'pip install <path/to/package/>'."""
        self.run_command("zip ./stpkg.zip ./stpkg/", exitcode=0)
        output = self.run_command("pip --verbose install stpkg.zip", exitcode=0)
        self.assertIn("Package installed: stpkg.zip", output)
        self.assertNotIn("Downloading package", output)
        self.assert_did_run_setup(output)

        try:
            import stpkg
        except ImportError as e:
            self.logger.info("sys.path = " + str(sys.path))
            raise AssertionError("Could not import installed module: " + repr(e))

        output = self.run_command("stash_pip_test", exitcode=0)
        self.assertIn("local pip test successfull!", output)
test 'pip install <path/to/package/>'.
tests/pip/test_pip.py