OLD | NEW |
1 # This file is part of the Juju Quickstart Plugin, which lets users set up a | 1 # This file is part of the Juju Quickstart Plugin, which lets users set up a |
2 # Juju environment in very few steps (https://launchpad.net/juju-quickstart). | 2 # Juju environment in very few steps (https://launchpad.net/juju-quickstart). |
3 # Copyright (C) 2015 Canonical Ltd. | 3 # Copyright (C) 2015 Canonical Ltd. |
4 # | 4 # |
5 # This program is free software: you can redistribute it and/or modify it under | 5 # This program is free software: you can redistribute it and/or modify it under |
6 # the terms of the GNU Affero General Public License version 3, as published by | 6 # the terms of the GNU Affero General Public License version 3, as published by |
7 # the Free Software Foundation. | 7 # the Free Software Foundation. |
8 # | 8 # |
9 # This program is distributed in the hope that it will be useful, but WITHOUT | 9 # This program is distributed in the hope that it will be useful, but WITHOUT |
10 # ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, | 10 # ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 def _check_bundle(self, bundle_name): | 177 def _check_bundle(self, bundle_name): |
178 """Ensure the given bundle name can be properly deployed.""" | 178 """Ensure the given bundle name can be properly deployed.""" |
179 retcode, output, error = run_quickstart(self.env_name, bundle_name) | 179 retcode, output, error = run_quickstart(self.env_name, bundle_name) |
180 self.assertEqual(0, retcode) | 180 self.assertEqual(0, retcode) |
181 self.assertIn('bundle deployment request accepted', output) | 181 self.assertIn('bundle deployment request accepted', output) |
182 self.assertEqual('', error) | 182 self.assertEqual('', error) |
183 | 183 |
184 def test_uncommitted_bundle_deployment(self): | 184 def test_uncommitted_bundle_deployment(self): |
185 # The application can be used to deploy uncommitted bundles. | 185 # The application can be used to deploy uncommitted bundles. |
186 retcode, output, error = run_quickstart( | 186 retcode, output, error = run_quickstart( |
187 self.env_name, '-u', 'u/openstack-charmers/openstack/25') | 187 self.env_name, '-u', 'openstack-base/34') |
188 self.assertEqual(0, retcode) | 188 self.assertEqual(0, retcode) |
189 self.assertIn('the bundle is ready to be deployed', output) | 189 self.assertIn('the bundle is ready to be deployed', output) |
190 self.assertEqual('', error) | 190 self.assertEqual('', error) |
OLD | NEW |