@mock.patch('changes.lib.snapshot_garbage_collection.get_current_datetime')
    def test_get_current_datetime(self, get_current_datetime):
        get_current_datetime.return_value = self.mock_datetime
        self.client.get(self.get_endpoint_path('cluster'))
        get_current_datetime.assert_any_call()
Metatest that verifies that the time-mock is functional.
dataset/ETHPy150Open dropbox/changes/tests/changes/api/test_cached_snapshot_cluster_details.py/CachedSnapshotClusterDetailsAPITestCase.test_get_current_datetime