def Run(self):
    test_lib.ClientFixture(self.client_id, token=self.token)

    def ReplaceFlowId():
      flows_dir_fd = aff4.FACTORY.Open(self.client_id.Add("flows"),
                                       token=self.token)
      flow_urn = list(flows_dir_fd.ListChildren())[0]
      return {flow_urn.Basename(): "W:ABCDEF"}

    url = "/api/clients/%s/vfs-refresh-operations" % self.client_id.Basename()
    with test_lib.FakeTime(42):
      self.Check("POST", url,
                 {"file_path": self.file_path,
                  "max_depth": 1},
                 replace=ReplaceFlowId)
dataset/ETHPy150Open google/grr/grr/gui/api_plugins/vfs_test.py/ApiCreateVfsRefreshOperationHandlerRegressionTest.Run/original