def setUp(self): self.projects = [ ProjectFactory(name="proj1"), ProjectFactory(name="proj2") ] self.CLI = cli.CLI("blocks") sys.stdout = self.out = StringIO()
def setUp(self): self.deployments = [ # dict( # package=, # environment=, # by_apptype=[dict( # current_app_deployment=, # previous_app_deployment=, # host_deployments=, # )], # ), # dict( # package=, # environment=, # by_apptype=[dict( # current_app_deployment=, # previous_app_deployment=, # host_deployments=, # )], # ), ] self.CLI = cli.CLI("blocks")
def setUp(self): self.packages = [PackageFactory(), PackageFactory()] self.CLI = cli.CLI("blocks") sys.stdout = self.out = StringIO()
def setUp(self): self.apps = [ApplicationFactory(), ApplicationFactory()] self.CLI = cli.CLI("blocks") sys.stdout = self.out = StringIO()
def test_format(self): CLI = cli.CLI("blocks") self.assertEqual(CLI.output_format, "blocks")
def setUp(self): self.CLI = cli.CLI("blocks")