How would I go about converting a string into a function call for a function that is within the same class? I used this question to help a bit but I think it has something to do with "self.".
ran_test_opt = choice(test_options)
ran_test_func = globals()[ran_test_opt]
ran_test_func()
where test_options is a list of the names of the functions available in string format. With the above code I get the error
KeyError: 'random_aoi'