Renaming xml test class in sample tests of consoles API.

Partially implements blueprint nova-api-samples
Fixes bug 1083642

Change-Id: I9ed16780e9a75a1fa34afac5c7861a0595180596
This commit is contained in:
Yolanda Robla
2012-11-25 09:25:48 +00:00
parent 29cac1f08c
commit 324ae560c3
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<console>
<type>novnc</type>
<url>http://example.com:6080/vnc_auto.html?token=f9906a48-b71e-4f18-baca-c987da3ebdb3&title=dafa(75ecef58-3b8e-4659-ab3b-5501454188e9)</url>
<type>novnc</type>
<url>http://example.com:6080/vnc_auto.html?token=f9906a48-b71e-4f18-baca-c987da3ebdb3</url>
</console>

View File

@@ -1,2 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<os-getVNCConsole type="novnc" />
<os-getVNCConsole>
<type>novnc</type>
</os-getVNCConsole>

View File

@@ -1660,5 +1660,5 @@ class ConsolesSampleJsonTests(ServersSampleBase):
subs, response)
class ConsoleOutputSampleXmlTests(ConsoleOutputSampleJsonTest):
class ConsolesSampleXmlTests(ConsolesSampleJsonTests):
ctype = 'xml'