(self)
| 237 | |
| 238 | class TestGenericObject(unittest.TestCase): |
| 239 | def test_init(self): |
| 240 | widget = gui.GenericObject(filename='shockwave.swf') |
| 241 | assertValidHTML(widget.repr()) |
| 242 | |
| 243 | h = SimpleParser() |
| 244 | h.feed(widget.repr()) |
| 245 | (tag, attrs) = h.elements[0] |
| 246 | self.assertEquals(attrs['data'], 'shockwave.swf') |
| 247 | |
| 248 | |
| 249 | class TestFileFolderNavigator(unittest.TestCase): |
nothing calls this directly
no test coverage detected