def tests(*args, **kwargs): cam = kwargs['ctx']['cam'] test = Tests(cam) return jsonify(test.avaliable_tests())
def get_available_tests(self): test = Tests(self) return test.avaliable_tests()['response']
def tests(*args, **kwargs): cam = kwargs['ctx']['cam'] test = Tests(cam) return jsonify(test.avaliable_tests())
def get_available_tests(self): test = Tests(self) return test.avaliable_tests()['response']