(self)
| 111 | |
| 112 | class TestProgress(unittest.TestCase): |
| 113 | def test_init(self): |
| 114 | widget = gui.Progress(_max=12,value=1) |
| 115 | |
| 116 | h = SimpleParser() |
| 117 | h.feed(widget.repr()) |
| 118 | (tag, attrs) = h.elements[0] |
| 119 | self.assertEquals(int(attrs['max']),12) |
| 120 | self.assertEquals(int(attrs['value']),1) |
| 121 | |
| 122 | class TestGenericDialog(unittest.TestCase): |
| 123 | ''' |
nothing calls this directly
no test coverage detected