Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Re-check that the cached limits are the current limits.

src/t/u/turnstile-HEAD/tests/unit/test_compactor.py   turnstile(Download)
        lc.limit_map = dict(old_uuid1=lc.limits[0], old_uuid2=lc.limits[1])
 
        lc.recheck_limits()
 
        mock_ControlDaemon.return_value.get_limits.assert_called_once_with()
        lc.limit_map = old_limit_map
 
        lc.recheck_limits()
 
        mock_ControlDaemon.return_value.get_limits.assert_called_once_with()
        lc.limit_map = old_limit_map
 
        lc.recheck_limits()
 
        mock_ControlDaemon.return_value.get_limits.assert_called_once_with()
        lc.limit_map = old_limit_map
 
        lc.recheck_limits()
 
        mock_ControlDaemon.return_value.get_limits.assert_called_once_with()