MCPcopy Index your code
hub / github.com/rawpython/remi / test_init

Method test_init

test/test_widget.py:239–246  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

237
238class 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
249class TestFileFolderNavigator(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

assertValidHTMLFunction · 0.85
SimpleParserClass · 0.85
reprMethod · 0.45

Tested by

no test coverage detected