def test_get_old_happy_unhappy_draining_tasks_empty(self):
        fake_name = 'whoa'
        fake_instance = 'the_earth_is_tiny'
        fake_id = marathon_tools.format_job_id(fake_name, fake_instance)

        fake_apps = [
            mock.Mock(id=fake_id, tasks=[]),
            mock.Mock(id=(fake_id % '%s2'), tasks=[])
        ]
        fake_system_paasta_config = utils.SystemPaastaConfig({}, "/fake/configs")

        expected_live_happy_tasks = {
            fake_apps[0].id: set(),
            fake_apps[1].id: set(),
        }
        expected_live_unhappy_tasks = {
            fake_apps[0].id: set(),
            fake_apps[1].id: set(),
        }
        expected_draining_tasks = {
            fake_apps[0].id: set(),
            fake_apps[1].id: set(),
        }

        with mock.patch('paasta_tools.bounce_lib.get_happy_tasks', side_effect=self.fake_get_happy_tasks):
            actual = setup_marathon_job.get_old_happy_unhappy_draining_tasks(
                fake_apps,
                self.fake_drain_method(),
                service=fake_name,
                nerve_ns=fake_instance,
                bounce_health_params={},
                system_paasta_config=fake_system_paasta_config,
            )
        actual_live_happy_tasks, actual_live_unhappy_tasks, actual_draining_tasks = actual
        assert actual_live_happy_tasks == expected_live_happy_tasks
        assert actual_live_unhappy_tasks == expected_live_unhappy_tasks
        assert actual_draining_tasks == expected_draining_tasks
dataset/ETHPy150Open Yelp/paasta/tests/test_setup_marathon_job.py/TestGetOldHappyUnhappyDrainingTasks.test_get_old_happy_unhappy_draining_tasks_empty/swapped operands of `%`