def testResourceData(self):
    def _OpMethod1(client, callback):
      self._method_count += 1
      callback()

    def _OpMethod2(client, callback):
      # Make sure that _OpMethod1 was already called.
      self.assertEqual(self._method_count, 1)
      callback()
      self.io_loop.add_callback(self.stop)

    op = self._CreateTestOp(user_id=100, handler=_OpMethod2)
    op = self._CreateTestOp(user_id=100, handler=_OpMethod1)
    lock = self._AcquireOpLock(user_id=100, operation_id=op.operation_id)
    self._RunAsync(lock.Abandon, self._client)

    op_mgr = self._CreateOpManager(handlers=[_OpMethod1, _OpMethod2])
    op_mgr._ScanAbandonedLocks()
    self.wait()

    self._RunAsync(op_mgr.Drain)
Serialize QNetworkReply to HAR.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/test/op_manager_test.py/OpManagerTestCase.testResourceData--crossover with--dataset/ETHPy150Open scrapinghub/splash/splash/har/qt.py/reply2har