Commits

Mikhail Korobov committed 681c3e0

Stupid typo is fixed: fab push argument should be obviously 'notest', not 'test'

Comments (0)

Files changed (2)

   (thanks Vladimir Mihailenco);
 - ``fab_deploy.deploy.push`` no longer calls 'synccompress' management command;
 - ``fab_deploy.deploy.push`` accepts 'before_restart' keyword argument -
-  that's a callable that will be executed just before code reload.
+  that's a callable that will be executed just before code reload;
+- fixed regression in ``fab_deploy.deploy.push`` command: 'notest' argument
+  was incorrectly renamed to 'test'.
 
 0.6 (2011-03-11)
 ----------------

fab_deploy/deploy.py

 
     Arguments:
 
-    * test - don't run dj_cmd.tests
-    * syncdb - run dj_cmd.syncdb before code reloading
-    * migrate - run dj_cmd.migrate before code reloading
+    * notest - don't run tests
+    * syncdb - run syncdb before code reloading
+    * migrate - run migrate before code reloading
     * pip_update - run virtualenv.pip_update before code reloading
     * norestart - do not reload source code
     '''
-    allowed_args = set(['test', 'syncdb', 'migrate', 'pip_update', 'norestart'])
+    allowed_args = set(['notest', 'syncdb', 'migrate', 'pip_update', 'norestart'])
     for arg in args:
         if arg not in allowed_args:
             puts('Invalid argument: %s' % arg)
 
     if 'norestart' not in args:
         apache.touch()
-    if 'test' not in args:
+    if 'notest' not in args:
         dj_cmd.test()
 
 def undeploy(confirm=True):