Esempio n. 1
0
 def test_initialize(self):
     awscli_initialize(self.cli)
     reference = []
     reference.append("building-command-table.main")
     reference.append("building-command-table.sync")
     for arg in self.cli.register.call_args_list:
         self.assertIn(arg[0][0], reference)
Esempio n. 2
0
 def test_initialize(self):
     awscli_initialize(self.cli)
     reference = []
     reference.append("building-command-table.main")
     reference.append("building-command-table.sync")
     for arg in self.cli.register.call_args_list:
         self.assertIn(arg[0][0], reference)
Esempio n. 3
0
 def test_initialize(self):
     awscli_initialize(self.cli)
     reference = []
     reference.append("building-command-table.main")
     reference.append("building-operation-table.s3")
     reference.append("doc-examples.S3.*")
     cmds = ['mv', 'rm', 'ls', 'rb', 'mb', 'cp', 'sync']
     for cmd in cmds:
         reference.append("building-parameter-table.s3." + cmd)
     for arg in self.cli.register.call_args_list:
         self.assertIn(arg[0][0], reference)
Esempio n. 4
0
 def test_initialize(self):
     awscli_initialize(self.cli)
     reference = []
     reference.append("building-command-table.main")
     reference.append("building-operation-table.s3")
     reference.append("doc-examples.S3.*")
     cmds = ['mv', 'rm', 'ls', 'rb', 'mb', 'cp', 'sync']
     for cmd in cmds:
         reference.append("building-parameter-table.s3." + cmd)
     for arg in self.cli.register.call_args_list:
         self.assertIn(arg[0][0], reference)
Esempio n. 5
0
 def test_initialize(self):
     awscli_initialize(self.cli)
     reference = []
     reference.append("building-command-table.main")
     reference.append("building-operation-table.s3")
     reference.append("doc-examples.S3.*")
     cmds = ["mv", "rm", "ls", "rb", "mb", "cp", "sync"]
     for cmd in cmds:
         reference.append("building-parameter-table.s3." + cmd)
     for arg in self.cli.register.call_args_list:
         self.assertIn(arg[0][0], reference)
Esempio n. 6
0
 def test_initialize(self):
     awscli_initialize(self.cli)
     reference = []
     reference.append("building-command-table.main")
     reference.append("building-operation-table.s3")
     reference.append("doc-examples.S3.*")
     # TODO: Change this test, it has to be updated everytime we
     # add a new command.
     cmds = ['mv', 'rm', 'ls', 'rb', 'mb', 'cp', 'sync', 'website']
     for cmd in cmds:
         reference.append("building-parameter-table.s3." + cmd)
     for arg in self.cli.register.call_args_list:
         self.assertIn(arg[0][0], reference)
Esempio n. 7
0
 def test_initialize(self):
     awscli_initialize(self.cli)
     reference = []
     reference.append("building-command-table.main")
     reference.append("building-operation-table.s3")
     reference.append("doc-examples.S3.*")
     # TODO: Change this test, it has to be updated everytime we
     # add a new command.
     cmds = ['mv', 'rm', 'ls', 'rb', 'mb', 'cp', 'sync', 'website']
     for cmd in cmds:
         reference.append("building-parameter-table.s3." + cmd)
     for arg in self.cli.register.call_args_list:
         self.assertIn(arg[0][0], reference)