Package cssutils :: Package tests :: Module test_cssfontfacerule :: Class CSSFontFaceRuleTestCase |
[hide private]
[frames] | no frames]

# Class CSSFontFaceRuleTestCase

source code

              object --+
                       |
       unittest.TestCase --+
                           |
       basetest.BaseTestCase --+
                               |
    test_cssrule.CSSRuleTestCase --+
                                   |
                                  CSSFontFaceRuleTestCase

Nested Classes | [hide private]
Inherited from `unittest.TestCase`: `failureException`

Instance Methods | [hide private]
setUp(self) OVERWRITE! self.r is the rule self.rRO the readonly rule relf.r_type the type as defined in CSSRule | source code
test_init(CSSFontFaceRule) CSSRule.type and init | source code
test_cssText(self) CSSFontFaceRule.cssText | source code
test_style(self) CSSFontFaceRule.style | source code
test_properties(self) CSSFontFaceRule.style properties | source code
test_incomplete(self) CSSFontFaceRule (incomplete) | source code
test_InvalidModificationErr(self) CSSFontFaceRule.cssText InvalidModificationErr | source code
test_reprANDstr(self) CSSFontFaceRule.__repr__(), .__str__() | source code
Inherited from `test_cssrule.CSSRuleTestCase`: `test_CSSMediaRule_cssRules_parentRule_parentStyleSheet_type`, `test_parentRule_parentStyleSheet_type`, `test_readonly` Inherited from `test_cssrule.CSSRuleTestCase` (private): `_test_InvalidModificationErr` 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
OVERWRITE! self.r is the rule self.rRO the readonly rule relf.r_type the type as defined in CSSRule Overrides: unittest.TestCase.setUp (inherited documentation)

### test_init(CSSFontFaceRule) | source code
CSSRule.type and init Overrides: test_cssrule.CSSRuleTestCase.test_init