Commit a75e62b6 by Matt Martz

Merge pull request #11439 from sivel/rax-test-yaml-fixes

Fix YAML formatting issue for rax integration tests
parents 200706d5 43f81c7c
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_cbs|failed - rax_cbs|failed
- rax_cbs.msg == 'missing required arguments: name' - 'rax_cbs.msg == "missing required arguments: name"'
# ============================================================ # ============================================================
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
assert: assert:
that: that:
- rax_cbs|failed - rax_cbs|failed
- "rax_cbs.msg == 'value of volume_type must be one of: SSD,SATA, got: fail'" - 'rax_cbs.msg == "value of volume_type must be one of: SSD,SATA, got: fail"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_cbs_attachments|failed - rax_cbs_attachments|failed
- rax_cbs_attachments.msg == 'missing required arguments: server,volume,device' - 'rax_cbs_attachments.msg == "missing required arguments: server,volume,device"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_cdb|failed - rax_cdb|failed
- rax_cdb.msg == 'missing required arguments: name' - 'rax_cdb.msg == "missing required arguments: name"'
# ============================================================ # ============================================================
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
assert: assert:
that: that:
- rax_cdb|failed - rax_cdb|failed
- rax_cdb.msg == 'missing required arguments: name' - 'rax_cdb.msg == "missing required arguments: name"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_cdb_database|failed - rax_cdb_database|failed
- rax_cdb_database.msg == 'missing required arguments: name,cdb_id' - 'rax_cdb_database.msg == "missing required arguments: name,cdb_id"'
# ============================================================ # ============================================================
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
assert: assert:
that: that:
- rax_cdb_database|failed - rax_cdb_database|failed
- rax_cdb_database.msg == 'missing required arguments: cdb_id' - 'rax_cdb_database.msg == "missing required arguments: cdb_id"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_clb|failed - rax_clb|failed
- rax_clb.msg == 'missing required arguments: name' - 'rax_clb.msg == "missing required arguments: name"'
# ============================================================ # ============================================================
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
assert: assert:
that: that:
- rax_clb|failed - rax_clb|failed
- rax_clb.msg == 'missing required arguments: name' - 'rax_clb.msg == "missing required arguments: name"'
# ============================================================ # ============================================================
...@@ -378,7 +378,7 @@ ...@@ -378,7 +378,7 @@
assert: assert:
that: that:
- rax_clb|failed - rax_clb|failed
- "rax_clb.msg == 'value of type must be one of: PUBLIC,SERVICENET, got: BAD'" - 'rax_clb.msg == "value of type must be one of: PUBLIC,SERVICENET, got: BAD"'
# ============================================================ # ============================================================
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
assert: assert:
that: that:
- rax_clb|failed - rax_clb|failed
- "rax_clb.msg == 'value of protocol must be one of: DNS_TCP,DNS_UDP,FTP,HTTP,HTTPS,IMAPS,IMAPv4,LDAP,LDAPS,MYSQL,POP3,POP3S,SMTP,TCP,TCP_CLIENT_FIRST,UDP,UDP_STREAM,SFTP, got: BAD'" - 'rax_clb.msg == "value of protocol must be one of: DNS_TCP,DNS_UDP,FTP,HTTP,HTTPS,IMAPS,IMAPv4,LDAP,LDAPS,MYSQL,POP3,POP3S,SMTP,TCP,TCP_CLIENT_FIRST,UDP,UDP_STREAM,SFTP, got: BAD"'
# ============================================================ # ============================================================
...@@ -424,7 +424,7 @@ ...@@ -424,7 +424,7 @@
assert: assert:
that: that:
- rax_clb|failed - rax_clb|failed
- "rax_clb.msg == 'value of algorithm must be one of: RANDOM,LEAST_CONNECTIONS,ROUND_ROBIN,WEIGHTED_LEAST_CONNECTIONS,WEIGHTED_ROUND_ROBIN, got: BAD'" - 'rax_clb.msg == "value of algorithm must be one of: RANDOM,LEAST_CONNECTIONS,ROUND_ROBIN,WEIGHTED_LEAST_CONNECTIONS,WEIGHTED_ROUND_ROBIN, got: BAD"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_clb_nodes|failed - rax_clb_nodes|failed
- rax_clb_nodes.msg == 'missing required arguments: load_balancer_id' - 'rax_clb_nodes.msg == "missing required arguments: load_balancer_id"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_facts|failed - rax_facts|failed
- rax_facts.msg == 'one of the following is required: address,id,name' - 'rax_facts.msg == "one of the following is required: address,id,name"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_keypair|failed - rax_keypair|failed
- rax_keypair.msg == 'missing required arguments: name' - 'rax_keypair.msg == "missing required arguments: name"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_meta|failed - rax_meta|failed
- rax_meta.msg == 'one of the following is required: address,id,name' - 'rax_meta.msg == "one of the following is required: address,id,name"'
# ============================================================ # ============================================================
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
assert: assert:
that: that:
- rax_network|failed - rax_network|failed
- rax_network.msg == 'missing required arguments: label' - 'rax_network.msg == "missing required arguments: label"'
# ============================================================ # ============================================================
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
assert: assert:
that: that:
- rax_network|failed - rax_network|failed
- rax_network.msg == 'missing required arguments: cidr' - 'rax_network.msg == "missing required arguments: cidr"'
# ============================================================ # ============================================================
......
...@@ -622,7 +622,7 @@ ...@@ -622,7 +622,7 @@
that: that:
- rax_scaling_group|success - rax_scaling_group|success
- not rax_scaling_group|changed - not rax_scaling_group|changed
- rax_scaling_group.autoscale_group.launchConfiguration.args.server['OS-DCF:diskConfig'] == 'AUTO' - "rax_scaling_group.autoscale_group.launchConfiguration.args.server['OS-DCF:diskConfig'] == 'AUTO'"
- name: Change disk_config 2 - name: Change disk_config 2
rax_scaling_group: rax_scaling_group:
...@@ -644,7 +644,7 @@ ...@@ -644,7 +644,7 @@
that: that:
- rax_scaling_group|success - rax_scaling_group|success
- rax_scaling_group|changed - rax_scaling_group|changed
- rax_scaling_group.autoscale_group.launchConfiguration.args.server['OS-DCF:diskConfig'] == 'MANUAL' - "rax_scaling_group.autoscale_group.launchConfiguration.args.server['OS-DCF:diskConfig'] == 'MANUAL'"
# ============================================================ # ============================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment