

def test_dry_run_does_nothing(self):
    self.maybe_terminate_quietly(max_hours_idle=0.01, dry_run=True)
    unlocked_ids = ['j-BOOTSTRAPPING', 'j-CURRENTLY_RUNNING', 'j-CUSTOM_DONE_AND_IDLE', 'j-DEBUG_ONLY', 'j-DONE', 'j-DONE_AND_IDLE', 'j-DONE_AND_IDLE_4_X', 'j-EMPTY', 'j-HADOOP_DEBUGGING', 'j-HIVE', 'j-IDLE_AND_FAILED', 'j-IDLE_BUT_INCOMPLETE_STEPS', 'j-PENDING_BUT_IDLE', 'j-POOLED']
    for cluster_id in unlocked_ids:
        self.assert_not_locked(self.mock_emr_clusters[cluster_id])
    unlocked_ids.assertEqual(self.ids_of_terminated_clusters(), [])

dataset/ETHPy150Open Yelp/mrjob/tests/tools/emr/test_terminate_idle_clusters.py ClusterTerminationTestCase.test_dry_run_does_nothing/VarMisuse@75/217 `self`->`unlocked_ids`