Browse Source

Merge branch 'python' of github.com:rtCamp/easyengine into python

bugfixes
harshadyeola 10 years ago
parent
commit
c20aa01eef
  1. 0
      tests/cli/1_test_stack.py
  2. 0
      tests/cli/2_test_stack_services_start.py
  3. 0
      tests/cli/3_test_stack_services_status.py
  4. 0
      tests/cli/4_test_stack_services_stop.py
  5. 0
      tests/cli/51_test_secure.py
  6. 0
      tests/cli/52_test_clean.py
  7. 0
      tests/cli/5_test_stack_services_restart.py
  8. 0
      tests/cli/8_test_site_create.py
  9. 0
      tests/cli/91_test_site_info.py
  10. 0
      tests/cli/92_test_site_cd.py
  11. 0
      tests/cli/93_test_site_list.py
  12. 0
      tests/cli/94_test_site_edit.py
  13. 2
      tests/cli/95_test_site_show.py
  14. 20
      tests/cli/97_test_site_update.py
  15. 0
      tests/cli/9_test_site_enable.py
  16. 0
      tests/cli/a_test_site_disable.py
  17. 6
      tests/cli/test_debug.py
  18. 16
      tests/cli/test_site_log.py

0
tests/cli/test_stack.py → tests/cli/1_test_stack.py

0
tests/cli/test_stack_services_start.py → tests/cli/2_test_stack_services_start.py

0
tests/cli/test_stack_services_status.py → tests/cli/3_test_stack_services_status.py

0
tests/cli/test_stack_services_stop.py → tests/cli/4_test_stack_services_stop.py

0
tests/cli/test_secure.py → tests/cli/51_test_secure.py

0
tests/cli/test_clean.py → tests/cli/52_test_clean.py

0
tests/cli/test_stack_services_restart.py → tests/cli/5_test_stack_services_restart.py

0
tests/cli/test_site_create.py → tests/cli/8_test_site_create.py

0
tests/cli/test_site_info.py → tests/cli/91_test_site_info.py

0
tests/cli/test_site_cd.py → tests/cli/92_test_site_cd.py

0
tests/cli/test_site_list.py → tests/cli/93_test_site_list.py

0
tests/cli/test_site_edit.py → tests/cli/94_test_site_edit.py

2
tests/cli/test_site_show.py → tests/cli/95_test_site_show.py

@ -10,7 +10,7 @@ class CliTestCaseSite(test.EETestCase):
self.app.close()
def test_ee_cli_show_edit(self):
self.app = get_test_app(argv=['site', 'show', 'example.com'])
self.app = get_test_app(argv=['site', 'show', 'example1.com'])
self.app.setup()
self.app.run()
self.app.close()

20
tests/cli/test_site_update.py → tests/cli/97_test_site_update.py

@ -10,70 +10,70 @@ class CliTestCaseSite(test.EETestCase):
self.app.close()
def test_ee_cli_site_update(self):
self.app = get_test_app(argv=['site', 'update', 'example.com',
self.app = get_test_app(argv=['site', 'update', 'example5.com',
'--password'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_html(self):
self.app = get_test_app(argv=['site', 'update', 'example1.com',
self.app = get_test_app(argv=['site', 'update', 'example2.com',
'--html'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_php(self):
self.app = get_test_app(argv=['site', 'update', 'example2.com',
self.app = get_test_app(argv=['site', 'update', 'example3.com',
'--php'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_mysql(self):
self.app = get_test_app(argv=['site', 'update', 'example3.com',
self.app = get_test_app(argv=['site', 'update', 'example4.com',
'--mysql'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_wp(self):
self.app = get_test_app(argv=['site', 'update', 'example4.com',
self.app = get_test_app(argv=['site', 'update', 'example5.com',
'--wp'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_wpsubdir(self):
self.app = get_test_app(argv=['site', 'update', 'example5.com',
self.app = get_test_app(argv=['site', 'update', 'example6.com',
'--wpsubdir'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_wpsubdomain(self):
self.app = get_test_app(argv=['site', 'update', 'example6.com',
self.app = get_test_app(argv=['site', 'update', 'example7.com',
'--wpsubdomain'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_w3tc(self):
self.app = get_test_app(argv=['site', 'update', 'example7.com',
self.app = get_test_app(argv=['site', 'update', 'example8.com',
'--w3tc'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_wpfc(self):
self.app = get_test_app(argv=['site', 'update', 'example8.com',
self.app = get_test_app(argv=['site', 'update', 'example9.com',
'--wpfc'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_update_wpsc(self):
self.app = get_test_app(argv=['site', 'update', 'example9.com',
self.app = get_test_app(argv=['site', 'update', 'example1.com',
'--wpsc'])
self.app.setup()
self.app.run()

0
tests/cli/test_site_enable.py → tests/cli/9_test_site_enable.py

0
tests/cli/test_site_disable.py → tests/cli/a_test_site_disable.py

6
tests/cli/test_debug.py

@ -77,19 +77,19 @@ class CliTestCaseDebug(test.EETestCase):
self.app.close()
def test_ee_cli_debug_site_name_start(self):
self.app = get_test_app(argv=['debug', 'example.com', '--start'])
self.app = get_test_app(argv=['debug', 'example1.com', '--start'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_debug_site_name_stop(self):
self.app = get_test_app(argv=['debug', 'example.com', '--stop'])
self.app = get_test_app(argv=['debug', 'example1.com', '--stop'])
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_debug_site_name_rewrite(self):
self.app = get_test_app(argv=['debug', 'example.com', '--rewrite'])
self.app = get_test_app(argv=['debug', 'example1.com', '--rewrite'])
self.app.setup()
self.app.run()
self.app.close()

16
tests/cli/test_site_log.py

@ -1,16 +0,0 @@
from ee.utils import test
from ee.cli.main import get_test_app
class CliTestCaseSite(test.EETestCase):
def test_ee_cli(self):
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_site_log(self):
self.app = get_test_app(argv=['site', 'log', 'example1.com'])
self.app.setup()
self.app.run()
self.app.close()
Loading…
Cancel
Save