17717: address further review comments: remove unused code and refactor
[arvados.git] / lib / costanalyzer / costanalyzer_test.go
index bf280ec0c5569d667619b2c968b42a7343ef967e..a3c123b5165f42939b4afc21fd2dcb17fda280d9 100644 (file)
@@ -114,6 +114,10 @@ func (s *Suite) SetUpSuite(c *check.C) {
        createNodeJSON(c, arv, ac, kc, arvadostest.CompletedDiagnosticsHasher3ContainerRequestUUID, arvadostest.Hasher3LogCollectionUUID, legacyD1V2JSON)
 }
 
+func (s *Suite) SetUpTest(c *check.C) {
+       Command = &command{}
+}
+
 func createNodeJSON(c *check.C, arv *arvadosclient.ArvadosClient, ac *arvados.Client, kc *keepclient.KeepClient, crUUID string, logUUID string, nodeJSON string) {
        // Get the CR
        var cr arvados.ContainerRequest