Package cssutils :: Package tests :: Module test_selector :: Class SelectorTestCase
[hide private]
[frames] | no frames]

Class SelectorTestCase

source code

       object --+        
                |        
unittest.TestCase --+    
                    |    
basetest.BaseTestCase --+
                        |
                       SelectorTestCase

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test_init(Selector) source code
 
test_element(self)
Selector.element (TODO: RESOLVE)
source code
 
test_namespaces(self)
Selector.namespaces
source code
 
test_default_namespace(self)
Selector.namespaces default
source code
 
test_parentList(self)
Selector.parentList
source code
 
test_selectorText(self)
Selector.selectorText
source code
 
test_specificity(self)
Selector.specificity
source code
 
test_reprANDstr(self)
Selector.__repr__(), .__str__()
source code

Inherited from basetest.BaseTestCase: assertRaisesEx, assertRaisesMsg, do_equal_p, do_equal_r, do_raise_p, do_raise_r, init_urlopen_mock

Inherited from basetest.BaseTestCase (private): _urlopen

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)