(self)
| 130 | self.checkSubclasses() |
| 131 | |
| 132 | def test_config_str(self): |
| 133 | TestConfigurable.configure("tornado.test.util_test.TestConfig2") |
| 134 | obj = cast(TestConfig2, TestConfigurable()) |
| 135 | self.assertIsInstance(obj, TestConfig2) |
| 136 | self.assertIsNone(obj.b) |
| 137 | |
| 138 | obj = cast(TestConfig2, TestConfigurable(b=2)) |
| 139 | self.assertIsInstance(obj, TestConfig2) |
| 140 | self.assertEqual(obj.b, 2) |
| 141 | |
| 142 | self.checkSubclasses() |
| 143 | |
| 144 | def test_config_args(self): |
| 145 | TestConfigurable.configure(None, a=3) |
nothing calls this directly
no test coverage detected