• Home
  • Raw
  • Download

Lines Matching refs:dsl

15 import deploy_server_local as dsl  namespace
21 orig_timer = dsl.SERVICE_STABILITY_TIMER
41 dsl.SERVICE_STABILITY_TIMER = 0.01
44 dsl.SERVICE_STABILITY_TIMER = self.orig_timer
49 result = dsl.strip_terminal_codes('')
52 result = dsl.strip_terminal_codes('This is normal text.')
55 result = dsl.strip_terminal_codes('Line1\nLine2\n')
58 result = dsl.strip_terminal_codes('Line1\nLine2\n')
62 result = dsl.strip_terminal_codes('\x1b[1m')
65 result = dsl.strip_terminal_codes('\x1b[m')
68 result = dsl.strip_terminal_codes('\x1b[1mm')
71 result = dsl.strip_terminal_codes(self.PROD_STATUS)
75 result = dsl.strip_terminal_codes(self.PROD_VERSIONS)
97 dsl.verify_repo_clean()
101 with self.assertRaises(dsl.DirtyTreeException):
102 dsl.verify_repo_clean()
106 with self.assertRaises(dsl.DirtyTreeException):
107 dsl.verify_repo_clean()
125 result = dsl.repo_versions()
138 dsl.repo_sync()
148 dsl.repo_sync(update_push_servers=True)
157 result = dsl.discover_update_commands()
167 with self.assertRaises(dsl.UnknownCommandException):
168 dsl.update_command('Unknown Command')
172 dsl.update_command('apache')
177 dsl.update_command('build_externals')
188 dsl.update_command('build_externals')
197 dsl.restart_service('foobar')
208 dsl.service_status('foobar')
211 @mock.patch.object(dsl, 'restart_service', autospec=True)
219 with mock.patch.object(dsl, 'service_status', autospec=True,
221 dsl.restart_services(service_results.keys())
225 dsl.HOSTNAME = 'test_server'
240 with self.assertRaises(dsl.UnstableServices) as unstable:
245 with self.assertRaises(dsl.UnstableServices) as unstable:
265 result = dsl.report_changes(before, None)
295 result = dsl.report_changes(before, after)
318 results = dsl.parse_arguments([])
325 results = dsl.parse_arguments(['--update_push_servers'])
332 results = dsl.parse_arguments(['--dryrun'])
339 results = dsl.parse_arguments(['--actions-only'])
347 results = dsl.parse_arguments(['--skip-verify', '--skip-update',
356 results = dsl.parse_arguments(['--skip-verify', '--skip-update',