Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/344.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何在Eclipse中连接PostgreSQL和PyDev_Python_Eclipse_Unit Testing_Pydev_Tryton - Fatal编程技术网

Python 如何在Eclipse中连接PostgreSQL和PyDev

Python 如何在Eclipse中连接PostgreSQL和PyDev,python,eclipse,unit-testing,pydev,tryton,Python,Eclipse,Unit Testing,Pydev,Tryton,我正在为Tryton开发一个模块,当我试图使用PostgreSQL和PyDev在Eclipse中运行unittest测试时,Eclipse无法连接到PostgreSQL。测试失败并引发以下消息: 操作错误:fe_sendauth:未提供密码 unittest测试文件是正确的,因为如果我在Python控制台中运行它,它会正常工作 如何将Eclipse中的unittest与PostgreSQL和PyDev集成

我正在为Tryton开发一个模块,当我试图使用PostgreSQL和PyDev在Eclipse中运行unittest测试时,Eclipse无法连接到PostgreSQL。测试失败并引发以下消息:

操作错误:fe_sendauth:未提供密码

unittest测试文件是正确的,因为如果我在Python控制台中运行它,它会正常工作

如何将Eclipse中的unittest与PostgreSQL和PyDev集成