def testCPULimit(self):
    result = self.RunFlow("CPULimitFlow", cpu_limit=300)
    self.assertEqual(result["cpulimit"], [300, 295, 255])
Tests that the cpu limit works.
dataset/ETHPy150Open google/grr/grr/lib/flow_test.py/FlowLimitTests.testCPULimit