예제 #1
0
 def test_remove_pos_arg_placeholders_with_query(self):
     self.assertEqual('group list', remove_pos_arg_placeholders('group list --query "[].{Name:name, Location:location}" --output table'))
예제 #2
0
 def test_remove_pos_arg_placeholders_with_pos_arg(self):
     self.assertEqual('network dns', remove_pos_arg_placeholders('network dns {{ arg_1 }}'))
예제 #3
0
 def test_remove_pos_arg_placeholders_with_args(self):
     self.assertEqual('vm create', remove_pos_arg_placeholders('vm create -g test -n test'))
예제 #4
0
 def test_remove_pos_arg_placeholders(self):
     self.assertEqual('webapp create', remove_pos_arg_placeholders('webapp create'))
예제 #5
0
 def test_remove_pos_arg_placeholders_with_query(self):
     self.assertEqual('group list', remove_pos_arg_placeholders('group list --query "[].{Name:name, Location:location}" --output table'))
예제 #6
0
 def test_remove_pos_arg_placeholders_with_args(self):
     self.assertEqual('vm create', remove_pos_arg_placeholders('vm create -g test -n test'))
예제 #7
0
 def test_remove_pos_arg_placeholders_with_pos_arg(self):
     self.assertEqual('network dns', remove_pos_arg_placeholders('network dns {{ arg_1 }}'))
예제 #8
0
 def test_remove_pos_arg_placeholders(self):
     self.assertEqual('webapp create', remove_pos_arg_placeholders('webapp create'))