From 890e3392ed443edba3a515bd6903a0e0b1c9c3f1 Mon Sep 17 00:00:00 2001 From: David Allen Date: Wed, 7 Aug 2024 13:15:09 -0600 Subject: [PATCH] Added TODO comments to tests and other minor change --- tests/api_test.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/api_test.go b/tests/api_test.go index 60c1886..05f7cd2 100644 --- a/tests/api_test.go +++ b/tests/api_test.go @@ -30,21 +30,27 @@ func TestScanAndCollect(t *testing.T) { } // do a collect on the emulator cluster to collect Redfish info - magellan.CollectInventory(&results, &magellan.QueryParams{}) + magellan.CollectInventory(&results, &magellan.CollectParams{}) } func TestCrawlCommand(t *testing.T) { - + // TODO: add test to check the crawl command's behavior } func TestListCommand(t *testing.T) { - + // TODO: add test to check the list command's output } func TestUpdateCommand(t *testing.T) { - + // TODO: add test that does a Redfish simple update checking it success and + // failure points } func TestGofishFunctions(t *testing.T) { + // TODO: add test that checks certain gofish function output to make sure + // gofish's output isn't changing spontaneously and remains predictable +} +func TestGenerateHosts(t *testing.T) { + // TODO: add test to generate hosts using a collection of subnets/masks }