public void LiveAlgorithmsAndLiveLogs_CanBeRead_Successfully() { // Read all currently running algorithms var liveAlgorithms = _api.ListLiveAlgorithms(AlgorithmStatus.Running); Assert.IsTrue(liveAlgorithms.Success); // There has to be at least one running algorithm Assert.IsTrue(liveAlgorithms.Algorithms.Any()); // Read the logs of the first live algorithm var firstLiveAlgo = liveAlgorithms.Algorithms[0]; var liveLogs = _api.ReadLiveLogs(firstLiveAlgo.ProjectId, firstLiveAlgo.DeployId); Assert.IsTrue(liveLogs.Success); Assert.IsTrue(liveLogs.Logs.Any()); }