mirror of
https://github.com/openshift/openshift-mcp-server.git
synced 2025-10-17 14:27:48 +03:00
test(mcp): refactor core toolset tests (namespaces) (#330)
Signed-off-by: Marc Nuri <marc@marcnuri.com>
This commit is contained in:
@@ -429,6 +429,7 @@ type BaseMcpSuite struct {
|
||||
|
||||
func (s *BaseMcpSuite) SetupTest() {
|
||||
s.Cfg = config.Default()
|
||||
s.Cfg.ListOutput = "yaml"
|
||||
s.Cfg.KubeConfig = filepath.Join(s.T().TempDir(), "config")
|
||||
s.Require().NoError(os.WriteFile(s.Cfg.KubeConfig, envTest.KubeConfig, 0600), "Expected to write kubeconfig")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user