func TestGetSQLConfFromFile(t *testing.T) {
	env := os.Getenv("DB")
	path := fmt.Sprintf("db/%s/dbconf.yml", env)
	conf, err := GetSQLConfFromFile(path)
	if err != nil {
		fmt.Printf("%v\n", err)
		t.Error("Did not expect for an error when supplying an existing configuration file")
	}
	expected := sqlConfFromEnv()
	if conf.openStr != expected.openStr {
		t.Error("Expected the SQL configuration to match the expected SQL configuration.")
	}
}
Ensures that getting a SQL Configuration from a non existent YAML file will
return a SQLConf struct that is holding the expeted data.
package geo
import (
	"fmt"
	"os"
	"testing"
)