1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Description: Remove broken test with Sphinx 4.2.x
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2021-10-26
--- python-os-api-ref-2.1.0+ds1.orig/os_api_ref/tests/test_microversions.py
+++ python-os-api-ref-2.1.0+ds1/os_api_ref/tests/test_microversions.py
@@ -53,48 +53,6 @@
str(content[0]),
'^<div class="operation-grp rp_min_ver_2_17 rp_max_ver_2_19 ?"')
- def test_parameters_table(self):
- """Test that min / max mv css class attributes are set in params"""
- table = """
-<table class="docutils align-default">
-<colgroup>
-<col style="width: 20%"/>
-<col style="width: 10%"/>
-<col style="width: 10%"/>
-<col style="width: 60%"/>
-</colgroup>
-<thead>
-<tr class="row-odd"><th class="head"><p>Name</p></th>
-<th class="head"><p>In</p></th>
-<th class="head"><p>Type</p></th>
-<th class="head"><p>Description</p></th>
-</tr>
-</thead>
-<tbody>
-<tr class="row-even"><td><p>name</p></td>
-<td><p>body</p></td>
-<td><p>string</p></td>
-<td><p>The name of things</p></td>
-</tr>
-<tr class="rp_min_ver_2_11 row-odd"><td><p>name2</p></td>
-<td><p>body</p></td>
-<td><p>string</p></td>
-<td><p>The name of things</p>
-<p><strong>New in version 2.11</strong></p>
-</td>
-</tr>
-<tr class="rp_max_ver_2_20 row-even"><td><p>name3</p></td>
-<td><p>body</p></td>
-<td><p>string</p></td>
-<td><p>The name of things</p>
-<p><strong>Available until version 2.20</strong></p>
-</td>
-</tr>
-</tbody>
-</table>
-"""
- self.assertIn(table, self.content)
-
def test_mv_selector(self):
button_selectors = '<option selected="selected" value="">All</option><option value="2.1">2.1</option><option value="2.2">2.2</option><option value="2.3">2.3</option><option value="2.4">2.4</option><option value="2.5">2.5</option><option value="2.6">2.6</option><option value="2.7">2.7</option><option value="2.8">2.8</option><option value="2.9">2.9</option><option value="2.10">2.10</option><option value="2.11">2.11</option><option value="2.12">2.12</option><option value="2.13">2.13</option><option value="2.14">2.14</option><option value="2.15">2.15</option><option value="2.16">2.16</option><option value="2.17">2.17</option><option value="2.18">2.18</option><option value="2.19">2.19</option><option value="2.20">2.20</option><option value="2.21">2.21</option><option value="2.22">2.22</option><option value="2.23">2.23</option><option value="2.24">2.24</option><option value="2.25">2.25</option><option value="2.26">2.26</option><option value="2.27">2.27</option><option value="2.28">2.28</option><option value="2.29">2.29</option><option value="2.30">2.30</option>' # noqa
|