| 172 | def test_derived_class(self): |
| 173 | |
| 174 | class X(Driver): |
| 175 | |
| 176 | _val1 = 1 |
| 177 | |
| 178 | @Feat() |
| 179 | def feat1(self): |
| 180 | return 'feat1' |
| 181 | |
| 182 | @Feat() |
| 183 | def val1(self): |
| 184 | return self._val1 |
| 185 | |
| 186 | @val1.setter |
| 187 | def val1(self, value): |
| 188 | self._val1 = value |
| 189 | |
| 190 | @Action() |
| 191 | def action1(self): |
| 192 | return 'action1' |
| 193 | |
| 194 | class Y(X): |
| 195 |
no outgoing calls