- postgresql中hstore数据类型的增删改查。
- python项目。
- virtualenv隔离虚拟环境。
####直接运行方式
git clone git@github.com:wzqwsrf/hstore.git
cd hstore
- 这一步是为了安装需要的第三方依赖包,
python tools/install_venv.py
- 运行测试用例,
tools/with_venv.sh python -m testtools.run tests.unit.test_user_service
- 修改绝对路径为相对路径。
- 注掉 CONF(['--config-file', 'tests/etc/unittest.ini']),使用 CONF(['--config-file', '../etc/unittest.ini'])
python tools/install_venv.py
- ctrl+shift+F10直接test