updated tests and methods

This commit is contained in:
redanthrax 2022-06-23 16:04:48 -07:00
parent de8e795254
commit da1e250ce9
8 changed files with 94 additions and 40 deletions

View file

@ -0,0 +1,16 @@
package shared_test
import (
"testing"
"github.com/amidaware/rmmagent/agent/tactical/shared"
)
func TestGetPythonBin(t *testing.T) {
pybin := shared.GetPythonBin()
if pybin == "" {
t.Errorf("expected path, got %s", pybin)
}
t.Logf("result: %s", pybin)
}