Documentation update.

see #649
This commit is contained in:
Antoine Nguyen
2014-12-10 15:43:45 +01:00
parent bf32aa20e8
commit efa586dba9
5 changed files with 43 additions and 415 deletions
+6 -4
View File
@@ -35,8 +35,10 @@ class DeployTest(unittest.TestCase):
def test_standard(self):
timeout = 2
cmd = "modoboa-admin.py deploy --syncdb --collectstatic {0}".format(
self.projname)
cmd = (
"modoboa-admin.py deploy --dbaction install --collectstatic {0}"
.format(self.projname)
)
child = pexpect.spawn(cmd, cwd=self.workdir)
fout = open('install_from_scratch.log', 'w')
child.logfile = fout
@@ -63,8 +65,8 @@ class DeployTest(unittest.TestCase):
% (self.dbtype, self.dbuser, self.dbpassword,
self.dbhost, self.projname)
cmd = (
"modoboa-admin.py deploy --syncdb --collectstatic --dburl %s "
"--extensions all --domain %s %s"
"modoboa-admin.py deploy --dbaction install --collectstatic "
"--dburl %s --extensions all --domain %s %s"
% (dburl, 'localhost', self.projname)
)
code, output = exec_cmd(cmd, cwd=self.workdir)