1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.tests.test_css.CSSTestCase</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.tests-module.html">Package tests</a> ::
47 <a href="lxml.tests.test_css-module.html">Module test_css</a> ::
48 Class CSSTestCase
52 <table cellpadding="0" cellspacing="0">
53 <!-- hide/show private -->
54 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55 onclick="toggle_private();">hide private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.tests.test_css.CSSTestCase-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class CSSTestCase</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_css-pysrc.html#CSSTestCase">source code</a></span></p>
66 <pre class="base-tree">
69 unittest.case.TestCase --+
71 <a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a> --+
73 <strong class="uidshort">CSSTestCase</strong>
77 <!-- ==================== NESTED CLASSES ==================== -->
78 <a name="section-NestedClasses"></a>
79 <table class="summary" border="1" cellpadding="3"
80 cellspacing="0" width="100%" bgcolor="white">
81 <tr bgcolor="#70b0f0" class="table-header">
82 <td colspan="2" class="table-header">
83 <table border="0" cellpadding="0" cellspacing="0" width="100%">
85 <td align="left"><span class="table-header">Nested Classes</span></td>
86 <td align="right" valign="top"
87 ><span class="options">[<a href="#section-NestedClasses"
88 class="privatelink" onclick="toggle_private();"
89 >hide private</a>]</span></td>
95 <td colspan="2" class="summary">
96 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
97 <code><a href="exceptions.AssertionError-class.html">failureException</a></code>
102 <!-- ==================== INSTANCE METHODS ==================== -->
103 <a name="section-InstanceMethods"></a>
104 <table class="summary" border="1" cellpadding="3"
105 cellspacing="0" width="100%" bgcolor="white">
106 <tr bgcolor="#70b0f0" class="table-header">
107 <td colspan="2" class="table-header">
108 <table border="0" cellpadding="0" cellspacing="0" width="100%">
110 <td align="left"><span class="table-header">Instance Methods</span></td>
111 <td align="right" valign="top"
112 ><span class="options">[<a href="#section-InstanceMethods"
113 class="privatelink" onclick="toggle_private();"
114 >hide private</a>]</span></td>
120 <td width="15%" align="right" valign="top" class="summary">
121 <span class="summary-type"> </span>
122 </td><td class="summary">
123 <table width="100%" cellpadding="0" cellspacing="0" border="0">
125 <td><span class="summary-sig"><a name="test_cssselect"></a><span class="summary-sig-name">test_cssselect</span>(<span class="summary-sig-arg">self</span>)</span></td>
126 <td align="right" valign="top">
127 <span class="codelink"><a href="lxml.tests.test_css-pysrc.html#CSSTestCase.test_cssselect">source code</a></span>
136 <td colspan="2" class="summary">
137 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b>:
138 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#parse">parse</a></code>,
139 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#tearDown">tearDown</a></code>
141 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b> (private):
142 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#_rootstring" onclick="show_private();">_rootstring</a></code>
144 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
145 <code>__call__</code>,
147 <code>__hash__</code>,
148 <code>__init__</code>,
150 <code>__repr__</code>,
151 <code>__str__</code>,
152 <code>addCleanup</code>,
153 <code>addTypeEqualityFunc</code>,
154 <code>assertAlmostEqual</code>,
155 <code>assertAlmostEquals</code>,
156 <code>assertDictContainsSubset</code>,
157 <code>assertDictEqual</code>,
158 <code>assertEqual</code>,
159 <code>assertEquals</code>,
160 <code>assertFalse</code>,
161 <code>assertGreater</code>,
162 <code>assertGreaterEqual</code>,
163 <code>assertIn</code>,
164 <code>assertIs</code>,
165 <code>assertIsInstance</code>,
166 <code>assertIsNone</code>,
167 <code>assertIsNot</code>,
168 <code>assertIsNotNone</code>,
169 <code>assertItemsEqual</code>,
170 <code>assertLess</code>,
171 <code>assertLessEqual</code>,
172 <code>assertListEqual</code>,
173 <code>assertMultiLineEqual</code>,
174 <code>assertNotAlmostEqual</code>,
175 <code>assertNotAlmostEquals</code>,
176 <code>assertNotEqual</code>,
177 <code>assertNotEquals</code>,
178 <code>assertNotIn</code>,
179 <code>assertNotIsInstance</code>,
180 <code>assertNotRegexpMatches</code>,
181 <code>assertRaises</code>,
182 <code>assertRaisesRegexp</code>,
183 <code>assertRegexpMatches</code>,
184 <code>assertSequenceEqual</code>,
185 <code>assertSetEqual</code>,
186 <code>assertTrue</code>,
187 <code>assertTupleEqual</code>,
188 <code>assert_</code>,
189 <code>countTestCases</code>,
191 <code>defaultTestResult</code>,
192 <code>doCleanups</code>,
195 <code>failIfAlmostEqual</code>,
196 <code>failIfEqual</code>,
197 <code>failUnless</code>,
198 <code>failUnlessAlmostEqual</code>,
199 <code>failUnlessEqual</code>,
200 <code>failUnlessRaises</code>,
204 <code>shortDescription</code>,
205 <code>skipTest</code>
207 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
208 <code>_addSkip</code>,
209 <code>_baseAssertEqual</code>,
210 <code>_deprecate</code>,
211 <code>_formatMessage</code>,
212 <code>_getAssertEqualityFunc</code>,
213 <code>_truncateMessage</code>
215 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
216 <code>__delattr__</code>,
217 <code>__format__</code>,
218 <code>__getattribute__</code>,
219 <code>__new__</code>,
220 <code>__reduce__</code>,
221 <code>__reduce_ex__</code>,
222 <code>__setattr__</code>,
223 <code>__sizeof__</code>,
224 <code>__subclasshook__</code>
229 <!-- ==================== CLASS METHODS ==================== -->
230 <a name="section-ClassMethods"></a>
231 <table class="summary" border="1" cellpadding="3"
232 cellspacing="0" width="100%" bgcolor="white">
233 <tr bgcolor="#70b0f0" class="table-header">
234 <td colspan="2" class="table-header">
235 <table border="0" cellpadding="0" cellspacing="0" width="100%">
237 <td align="left"><span class="table-header">Class Methods</span></td>
238 <td align="right" valign="top"
239 ><span class="options">[<a href="#section-ClassMethods"
240 class="privatelink" onclick="toggle_private();"
241 >hide private</a>]</span></td>
247 <td colspan="2" class="summary">
248 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
249 <code>setUpClass</code>,
250 <code>tearDownClass</code>
255 <!-- ==================== CLASS VARIABLES ==================== -->
256 <a name="section-ClassVariables"></a>
257 <table class="summary" border="1" cellpadding="3"
258 cellspacing="0" width="100%" bgcolor="white">
259 <tr bgcolor="#70b0f0" class="table-header">
260 <td colspan="2" class="table-header">
261 <table border="0" cellpadding="0" cellspacing="0" width="100%">
263 <td align="left"><span class="table-header">Class Variables</span></td>
264 <td align="right" valign="top"
265 ><span class="options">[<a href="#section-ClassVariables"
266 class="privatelink" onclick="toggle_private();"
267 >hide private</a>]</span></td>
273 <td width="15%" align="right" valign="top" class="summary">
274 <span class="summary-type"> </span>
275 </td><td class="summary">
276 <a name="pytestmark"></a><span class="summary-name">pytestmark</span> = <code title="<lxml.tests.common_imports.skipif object>"><lxml.tests.common_imports.skipif object></code>
280 <td colspan="2" class="summary">
281 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
282 <code>longMessage</code>,
285 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
286 <code>_classSetupFailed</code>,
287 <code>_diffThreshold</code>
292 <!-- ==================== PROPERTIES ==================== -->
293 <a name="section-Properties"></a>
294 <table class="summary" border="1" cellpadding="3"
295 cellspacing="0" width="100%" bgcolor="white">
296 <tr bgcolor="#70b0f0" class="table-header">
297 <td colspan="2" class="table-header">
298 <table border="0" cellpadding="0" cellspacing="0" width="100%">
300 <td align="left"><span class="table-header">Properties</span></td>
301 <td align="right" valign="top"
302 ><span class="options">[<a href="#section-Properties"
303 class="privatelink" onclick="toggle_private();"
304 >hide private</a>]</span></td>
310 <td colspan="2" class="summary">
311 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
312 <code>__class__</code>
317 <!-- ==================== NAVIGATION BAR ==================== -->
318 <table class="navbar" border="0" width="100%" cellpadding="0"
319 bgcolor="#a0c0ff" cellspacing="0">
322 <th> <a
323 href="lxml-module.html">Home</a> </th>
326 <th> <a
327 href="module-tree.html">Trees</a> </th>
330 <th> <a
331 href="identifier-index.html">Indices</a> </th>
334 <th> <a
335 href="help.html">Help</a> </th>
337 <!-- Project homepage -->
338 <th class="navbar" align="right" width="100%">
339 <table border="0" cellpadding="0" cellspacing="0">
340 <tr><th class="navbar" align="center"
341 ><a class="navbar" target="_top" href="/">lxml API</a></th>
345 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
347 <td align="left" class="footer">
348 Generated by Epydoc 3.0.1
349 on Wed Jan 29 12:26:21 2020
351 <td align="right" class="footer">
352 <a target="mainFrame" href="http://epydoc.sourceforge.net"
353 >http://epydoc.sourceforge.net</a>
358 <script type="text/javascript">
360 // Private objects are initially displayed (because if
361 // javascript is turned off then we want them to be
362 // visible); but by default, we want to hide them. So hide
363 // them unless we have a cookie that says to show them.