diff --git a/conf/tests.py b/conf/tests.py
index f0c1abb5..fbb4022e 100644
--- a/conf/tests.py
+++ b/conf/tests.py
@@ -71,7 +71,7 @@ class WebsiteConfigAPITest(APITestCase):
"allow_register": True, "submission_list_show_all": False}
resp = self.client.post(url, data=data)
self.assertSuccess(resp)
- self.assertEqual(SysOptions.website_footer, '')
+ self.assertEqual(SysOptions.website_footer, '')
def test_get_website_config(self):
# do not need to login
diff --git a/deploy/requirements.txt b/deploy/requirements.txt
index 7df82325..ed9a9337 100644
--- a/deploy/requirements.txt
+++ b/deploy/requirements.txt
@@ -15,7 +15,7 @@ jsonfield==3.1.0
mccabe==0.6.1
otpauth==1.0.1
Pillow==8.4.0
-psycopg2-binary==2.9.2
+psycopg2==2.9.2
pycodestyle==2.8.0
pyflakes==2.4.0
python-dateutil==2.8.2
diff --git a/docs/data.json b/docs/data.json
index bd9c6f00..a80acac1 100644
--- a/docs/data.json
+++ b/docs/data.json
@@ -6,7 +6,9 @@
"title": "2021-11-20",
"details": [
"django2.x即将停止支持,更新django到3.x LTS,相应地更新了全部相关依赖",
- "合并底包版本到python3.8-alpine3.14,为移除python2做准备"
+ "合并底包版本到python3.8-alpine3.14,为移除python2做准备",
+ "按上游包的生产环境规范,修改依赖psycopg2_binary为psycopg2",
+ "TODO:本地开发环境搭建文档应做相应修改和提交。"
]
},
{
diff --git a/run_test.py b/run_test.py
index 1c1cfb2e..a6c714f6 100644
--- a/run_test.py
+++ b/run_test.py
@@ -21,7 +21,7 @@ print("running flake8...")
if os.system("flake8 --statistics ."):
exit()
-ret = os.system('coverage run --include=\"$PWD/*\" manage.py test {module} --settings={setting}'.format(module=test_module, setting=setting))
+ret = os.system('coverage run --include="$PWD/*" manage.py test {module} --settings={setting}'.format(module=test_module, setting=setting))
if not ret and is_coverage:
os.system("coverage html && open htmlcov/index.html")