def METHOD_NAME(self):
    class MyTestConfig(object):
        __metaclass__ = ConfigReader
        class main(object):
            option_str = "a string value"
            option_int = 215
            option_float = 32.217
            option_bool = False
            option_list = ["toto", True, 635, 1247.4741111]
        class database(object):
            name = "mydb"
            host = "52.124.21.95"
            port = 3306
            user = "root"
            password = "password"
            timeout = 30
    self.config = MyTestConfig()