def CheckFlow(self):
    procs = aff4.FACTORY.Open(self.client_id.Add(self.output_path), mode="r",
                              token=self.token)
    self.assertIsInstance(procs, aff4.RDFValueCollection)
    process_list = list(procs)
    # Make sure there are at least some results.
    self.assertGreater(len(process_list), 5)

    expected_name = self.GetGRRBinaryName()
    for p in process_list:
      if p.exe in expected_name:
        return
    self.fail("Process listing does not contain %s." % expected_name)
dataset/ETHPy150Open google/grr/grr/endtoend_tests/processes.py/TestProcessListing.CheckFlow/swapped operands of `in`