Pull logic to get the device list from ENVVARs out to its own function

Signed-off-by: Kevin Klues <kklues@nvidia.com>
This commit is contained in:
Kevin Klues
2020-07-23 14:18:11 +00:00
parent aec9a28bc3
commit 889ebae1fe
2 changed files with 6 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import (
"testing"
)
func TestGetNvidiaConfigEnvvar(t *testing.T) {
func TestGetNvidiaConfig(t *testing.T) {
var tests = []struct {
description string
env map[string]string