Пример #1
0
 def test_default_setup(self):
     packr=Packr()
     packr.setup()
Пример #2
0
 def test_dest_dir_env_var_set(self):
     packr = Packr(destdir="/opt/user", srcdir=TEST_PYTHON_PROJECT_PATH)
     packr.setup()
     self.assertEqual(packr.destdir, os.environ[INSTALL_DIR_ENV_VAR])