Added password for postgres case

This commit is contained in:
Antoine Nguyen
2024-06-22 19:45:18 +02:00
committed by Spitfireap
parent 1e3f0668f1
commit 8b71340d3a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ jobs:
pip install -r mysql-requirements.txt
echo "DB=mysql" >> $GITHUB_ENV
- name: Test with pytest
if: ${{ matrix.python-version != '3.10' || matrix.database != 'postgres' }}
if: ${{ matrix.python-version != '3.11' || matrix.database != 'postgres' }}
run: |
python ./tests.py
cd test_project
+1 -1
View File
@@ -19,7 +19,7 @@ class DeployTest(unittest.TestCase):
dbport = PORT
projname = "modoboa_test"
dbuser = DB == "mysql" and "modoboa" or "postgres"
dbpassword = DB == "mysql" and "modoboa" or ""
dbpassword = DB == "mysql" and "modoboa" or "postgres"
def setUp(self):
self.workdir = tempfile.mkdtemp()