Browse Source

updated log messages

bugfixes
shital.rtcamp 10 years ago
parent
commit
b7881c7a12
  1. 3
      ee/cli/plugins/secure.py
  2. 2
      ee/cli/plugins/site_functions.py
  3. 2
      ee/cli/plugins/stack.py
  4. 11
      tests/cli/97_test_site_update.py

3
ee/cli/plugins/secure.py

@ -20,8 +20,7 @@ class EESecureController(CementBaseController):
label = 'secure'
stacked_on = 'base'
stacked_type = 'nested'
description = ('clean command cleans different cache with following '
'options')
description = ('clean command cleans different cache ')
arguments = [
(['--auth'],
dict(help='secure auth', action='store_true')),

2
ee/cli/plugins/site_functions.py

@ -375,7 +375,7 @@ def site_package_check(self, stype):
packages = packages + [["https://github.com/wp-cli/wp-cli/"
"releases/download/v0.17.1/"
"wp-cli.phar", "/usr/bin/wp",
"WP_CLI"]]
"WP-CLI"]]
stack.install(apt_packages=apt_packages, packages=packages)

2
ee/cli/plugins/stack.py

@ -36,7 +36,7 @@ class EEStackController(CementBaseController):
label = 'stack'
stacked_on = 'base'
stacked_type = 'nested'
description = 'stack command manages stack operations'
description = 'Stack command manages stack operations'
arguments = [
(['--web'],
dict(help='Install web stack', action='store_true')),

11
tests/cli/97_test_site_update.py

@ -1,5 +1,5 @@
from ee.utils import test
from ee.cli.plugins.site import EESiteUpdateController
from ee.cli.main import get_test_app
class CliTestCaseSite(test.EETestCase):
@ -10,13 +10,15 @@ class CliTestCaseSite(test.EETestCase):
self.app.close()
def test_ee_cli_site_update(self):
self.ok(self.config.has_key('EESiteUpdateController', 'debug'))
self.app = get_test_app(argv=['site', 'update', 'example3.com',
'--password'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_html(self):
self.ok(self.config.has_key('EESiteUpdateController', 'debug'))
self.app = get_test_app(argv=['site', 'update', 'example4.com',
'--php'])
self.app.setup()
self.app.run()
self.app.close()
@ -36,7 +38,8 @@ class CliTestCaseSite(test.EETestCase):
self.app.close()
def test_ee_cli_site_update_wp(self):
self.ok(self.config.has_key('EESiteUpdateController', 'debug'))
self.app = get_test_app(argv=['site', 'update', 'example4.com',
'--mysql'])
self.app.setup()
self.app.run()
self.app.close()

Loading…
Cancel
Save