

def assert_not_locked(self, mock_cluster, steps_ahead=1):
    self.assertIsNone(self._lock_contents(mock_cluster, steps_ahead=steps_ahead))

dataset/ETHPy150Open Yelp/mrjob/tests/tools/emr/test_terminate_idle_clusters.py ClusterTerminationTestCase.assert_not_locked/original