diff options
| author | Yuriy Taraday <yorik.sar@gmail.com> | 2011-05-06 18:01:42 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-05-06 18:01:42 +0000 |
| commit | 016be4ccdfe3f7791021bc717a1445b36cde371f (patch) | |
| tree | 8d90c045d63df0f67372cb5573008567ece42a1c /nova/tests | |
| parent | 114a55d0243f79db7ea1ef29830a9428dbf1aa33 (diff) | |
| parent | 6160e3dbdf0dcc736fb650d025da89b269edbf59 (diff) | |
Sanitize get_console_output results. See bug #758054
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_cloud.py b/nova/tests/test_cloud.py index c45bdd12c..f271c03f2 100644 --- a/nova/tests/test_cloud.py +++ b/nova/tests/test_cloud.py @@ -290,7 +290,7 @@ class CloudTestCase(test.TestCase): instance_id = rv['instancesSet'][0]['instanceId'] output = self.cloud.get_console_output(context=self.context, instance_id=[instance_id]) - self.assertEquals(b64decode(output['output']), 'FAKE CONSOLE OUTPUT') + self.assertEquals(b64decode(output['output']), 'FAKE CONSOLE?OUTPUT') # TODO(soren): We need this until we can stop polling in the rpc code # for unit tests. greenthread.sleep(0.3) |
