def method_completition_test(self):
        b = BaseMethod(["param1", "param2"])

        if b.can_be_executed(): raise AssertionError

        b.set_parameter("param1", 1)
        if b.can_be_executed(): raise AssertionError

        b.set_parameter("param2", 2)
        if not b.can_be_executed(): raise AssertionError
Test if methods detect their executable state correctly.
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/BaseMethodTest.method_completition_test