def setUp(self):
        if 1 > self.unittest_verbosity():
                logging.basicConfig(level=logging.DEBUG,
                    format='%(asctime)s : %(levelname)s : %(name)s : %(message)s')
        else:
                # no logging by default
                logging.basicConfig(level=99)

        self.realTime = time.time
        self.testTime = self.realTime()
        time.time = MagicMock(return_value=self.testTime)

        # init machine
        self.machine = MachineController(self.getOptions())

        self.machine.default_platform.timer_initialize()
        self.machine.loop_start_time = time.time()

        self.machine.ball_controller.num_balls_known = 99
        self.advance_time_and_run(300)
dataset/ETHPy150Open missionpinball/mpf/tests/MpfTestCase.py/MpfTestCase.setUp/swapped operands of `>`