Update tests for more recent sphinx
The html output now uses a more compact form for empty col elements. Update the tests to account for this. Change-Id: I055254463e48cc8fdd44c4de7c39595a574afa47
This commit is contained in:
parent
dea2b803ff
commit
32101d84c1
|
@ -78,10 +78,10 @@ class TestBasicExample(base.TestCase):
|
|||
|
||||
table = """<table border="1" class="docutils">
|
||||
<colgroup>
|
||||
<col width="20%"></col>
|
||||
<col width="10%"></col>
|
||||
<col width="10%"></col>
|
||||
<col width="60%"></col>
|
||||
<col width="20%"/>
|
||||
<col width="10%"/>
|
||||
<col width="10%"/>
|
||||
<col width="60%"/>
|
||||
</colgroup>
|
||||
<thead valign="bottom">
|
||||
<tr class="row-odd"><th class="head">Name</th>
|
||||
|
@ -105,8 +105,8 @@ class TestBasicExample(base.TestCase):
|
|||
|
||||
success_table = """table border="1" class="docutils">
|
||||
<colgroup>
|
||||
<col width="30%"></col>
|
||||
<col width="70%"></col>
|
||||
<col width="30%"/>
|
||||
<col width="70%"/>
|
||||
</colgroup>
|
||||
<thead valign="bottom">
|
||||
<tr class="row-odd"><th class="head">Code</th>
|
||||
|
@ -129,8 +129,8 @@ class TestBasicExample(base.TestCase):
|
|||
|
||||
error_table = """<table border="1" class="docutils">
|
||||
<colgroup>
|
||||
<col width="30%"></col>
|
||||
<col width="70%"></col>
|
||||
<col width="30%"/>
|
||||
<col width="70%"/>
|
||||
</colgroup>
|
||||
<thead valign="bottom">
|
||||
<tr class="row-odd"><th class="head">Code</th>
|
||||
|
|
|
@ -58,10 +58,10 @@ class TestMicroversions(base.TestCase):
|
|||
table = """<div class="api-detail collapse section" id="list-servers-detail">
|
||||
<table border="1" class="docutils">
|
||||
<colgroup>
|
||||
<col width="20%"></col>
|
||||
<col width="10%"></col>
|
||||
<col width="10%"></col>
|
||||
<col width="60%"></col>
|
||||
<col width="20%"/>
|
||||
<col width="10%"/>
|
||||
<col width="10%"/>
|
||||
<col width="60%"/>
|
||||
</colgroup>
|
||||
<thead valign="bottom">
|
||||
<tr class="row-odd"><th class="head">Name</th>
|
||||
|
|
Loading…
Reference in New Issue