def test_set_var_description(self): "It allows to use custom Variable classes" config = Config(variable_class=self.CustomVariable) config.descriptive_var = 4 self.assertEquals(config.get_var("descriptive_var").custom_field, "custom_value")