func (s *ConverterSuite) SetUpTest(c *gc.C) { testing.SkipIfGitNotAvailable(c) s.GitSuite.SetUpTest(c) s.targetPath = c.MkDir() s.dataPath = c.MkDir() s.bundles = &bundleReader{} }
func (s *GitDeployerSuite) SetUpTest(c *gc.C) { testing.SkipIfGitNotAvailable(c) s.GitSuite.SetUpTest(c) s.bundles = &bundleReader{} s.targetPath = filepath.Join(c.MkDir(), "target") deployerPath := filepath.Join(c.MkDir(), "deployer") s.deployer = charm.NewGitDeployer(s.targetPath, deployerPath, s.bundles) }