Piscal Ssh Client cleanup

This commit is contained in:
2022-10-19 09:01:40 -04:00
parent e06d5d5b66
commit 0160c1d7b5
2 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -13,7 +13,7 @@ namespace LeafWeb.Core.Tests.Remote
{
private const string ContentDirectory = @"Parsers\LeafInputData\";
private readonly PiscalLeafInput _testInput =
private readonly PiscalLeafInput _validInput =
new PiscalLeafInput
{
LeafInputId = 1,
@@ -53,14 +53,14 @@ namespace LeafWeb.Core.Tests.Remote
public void SubmitLeafInputFile()
{
var client = GetTestClient();
client.RunLeafInput(_testInput);
client.RunLeafInput(_validInput);
}
[Test, Explicit]
public void GetLeafInputStatus()
{
var client = GetTestClient();
var leafInputStatus = client.GetLeafInputStatus(_testInput);
var leafInputStatus = client.GetLeafInputStatus(_validInput);
Console.WriteLine(leafInputStatus);
}
@@ -68,7 +68,7 @@ namespace LeafWeb.Core.Tests.Remote
public void RetrieveLeafOutput()
{
var client = GetTestClient();
var result = client.RetrieveLeafOutput(_testInput).ToList();
var result = client.RetrieveLeafOutput(_validInput).ToList();
Console.WriteLine(string.Join(", ", result.Select(o => o.Filename)));
//Console.WriteLine(result[0].Contents.GetString());
}
@@ -77,14 +77,14 @@ namespace LeafWeb.Core.Tests.Remote
public void CleanLeafOutput()
{
var client = GetTestClient();
client.CleanupLeafProcess(_testInput);
client.CleanupLeafProcess(_validInput);
}
[Test, Explicit]
public void KillLeafProcess()
{
var client = GetTestClient();
client.KillLeafProcess(_testInput);
client.KillLeafProcess(_validInput);
}
}
}