Skip to content

Commit

Permalink
Revise tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cidrblock committed Feb 13, 2022
1 parent 073348d commit 013bff3
Show file tree
Hide file tree
Showing 38 changed files with 248 additions and 826 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,40 @@
"index": 2,
"comment": "task-1 yaml",
"additional_information": {
"present": [],
"present": [
"航海家"
],
"absent": [],
"compared_fixture": true
"compared_fixture": false
},
"output": [
"PLAY [Simple unicode output test:0] ********************************************************************************************************************************************************************",
"TASK [Raw with unicode arg and output] *****************************************************************************************************************************************************************",
"CHANGED: [localhost]",
" 0│---",
" 0│---",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
" 3│event_loop: null",
" 4│host: localhost",
" 5│play: Simple unicode output test",
" 6│play_pattern: localhost",
" 3│event_loop: null",
" 4│host: localhost",
" 5│play: Simple unicode output test",
" 6│play_pattern: localhost",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
" 8│remote_addr: localhost",
" 9│res:",
"10│ _ansible_no_log: false",
" 8│remote_addr: localhost",
" 9│res:",
"10│ _ansible_no_log: false",
"11│ changed: true",
"12│ rc: 0",
"13│ stderr: ''",
"14│ stderr_lines: []",
"15│ stdout: |-",
"16│ 航海家",
"17│ stdout_lines:",
"18│ - 航海家",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"20│task: Raw with unicode arg and output",
"21│task_action: raw",
"22│task_args: ''",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back - previous + next [0-9] goto :help help SUCCESSFUL"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,42 @@
"index": 3,
"comment": "task-1 json",
"additional_information": {
"present": [],
"present": [
"航海家"
],
"absent": [],
"compared_fixture": true
"compared_fixture": false
},
"output": [
"PLAY [Simple unicode output test:0] ********************************************************************************************************************************************************************",
"TASK [Raw with unicode arg and output] *****************************************************************************************************************************************************************",
"CHANGED: [localhost]",
" 0│{",
" 1│ \"duration\": 0.015339, ▒",
" 2│ \"end\": \"2022-02-13T18:08:58.017874\",",
" 3│ \"event_loop\": null,",
" 4│ \"host\": \"localhost\",",
" 5│ \"play\": \"Simple unicode output test\",",
" 6│ \"play_pattern\": \"localhost\",",
" 7│ \"playbook\": \"/home/bthornto/github/ansible-navigator/tests/fixtures/integration/actions/run_unicode/site.yaml\",",
" 8│ \"remote_addr\": \"localhost\",",
" 9│ \"res\": {",
" 0│{",
" 1│ \"duration\": 0.057188,",
" 2│ \"end\": \"2022-02-13T18:28:45.394242\",",
" 3│ \"event_loop\": null,",
" 4│ \"host\": \"localhost\",",
" 5│ \"play\": \"Simple unicode output test\",",
" 6│ \"play_pattern\": \"localhost\",",
" 7│ \"playbook\": \"/home/user/github/ansible-navigator/tests/fixtures/integration/actions/run_unicode/site.yaml\",",
" 8│ \"remote_addr\": \"localhost\",",
" 9│ \"res\": {",
"10│ \"_ansible_no_log\": false,",
"11│ \"changed\": true,",
"12│ \"rc\": 0,",
"13│ \"stderr\": \"\",",
"14│ \"stderr_lines\": [],",
"15│ \"stdout\": \"航海家,n\"",
"16│ \"stdout_lines\": [",
"17│ \"航海家\"",
"18│ ]",
"19│ },",
"20│ \"start\": \"2022-02-13T18:28:45.337054\",",
"21│ \"task\": \"Raw with unicode arg and output\",",
"22│ \"task_action\": \"raw\",",
"23│ \"task_args\": \"\",",
"24│ \"task_path\": \"/home/user/github/ansible-navigator/tests/fixtures/integration/actions/run_unicode/site.yaml:6\"",
"25│}",
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back - previous + next [0-9] goto :help help SUCCESSFUL"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,47 @@
"index": 5,
"comment": "task-2 json",
"additional_information": {
"present": [],
"present": [
"航海家"
],
"absent": [],
"compared_fixture": true
"compared_fixture": false
},
"output": [
"PLAY [Simple unicode output test:1] ********************************************************************************************************************************************************************",
"TASK [Debug the output] ********************************************************************************************************************************************************************************",
"OK: [localhost]",
" 0│{",
" 1│ \"duration\": 0.027339, ▒",
" 2│ \"end\": \"2022-02-13T18:08:58.050685\",",
" 3│ \"event_loop\": null,",
" 4│ \"host\": \"localhost\",",
" 5│ \"play\": \"Simple unicode output test\",",
" 6│ \"play_pattern\": \"localhost\",",
" 7│ \"playbook\": \"/home/bthornto/github/ansible-navigator/tests/fixtures/integration/actions/run_unicode/site.yaml\",",
" 8│ \"remote_addr\": \"localhost\",",
" 0│{",
" 1│ \"duration\": 0.109558,",
" 2│ \"end\": \"2022-02-13T18:28:45.525577\",",
" 3│ \"event_loop\": null,",
" 4│ \"host\": \"localhost\",",
" 5│ \"play\": \"Simple unicode output test\",",
" 6│ \"play_pattern\": \"localhost\",",
" 7│ \"playbook\": \"/home/user/github/ansible-navigator/tests/fixtures/integration/actions/run_unicode/site.yaml\",",
" 8│ \"remote_addr\": \"localhost\",",
" 9│ \"res\": {",
"10│ \"_ansible_no_log\": false,",
"11│ \"_ansible_verbose_always\": true,",
"12│ \"changed\": false,",
"13│ \"output\": {",
"14│ \"changed\": true,",
"15│ \"failed\": false,",
"16│ \"rc\": 0,",
"17│ \"stderr\": \"\",",
"18│ \"stderr_lines\": [],",
"19│ \"stdout\": \"航海家,n\"",
"20│ \"stdout_lines\": [",
"21│ \"航海家\"",
"22│ ]",
"23│ }",
"24│ },",
"25│ \"start\": \"2022-02-13T18:28:45.416019\",",
"26│ \"task\": \"Debug the output\",",
"27│ \"task_action\": \"debug\",",
"28│ \"task_args\": \"\",",
"29│ \"task_path\": \"/home/user/github/ansible-navigator/tests/fixtures/integration/actions/run_unicode/site.yaml:9\"",
"30│}",
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back - previous + next [0-9] goto :help help SUCCESSFUL"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,44 @@
"index": 6,
"comment": "task-2 yaml",
"additional_information": {
"present": [],
"present": [
"航海家"
],
"absent": [],
"compared_fixture": true
"compared_fixture": false
},
"output": [
"PLAY [Simple unicode output test:1] ********************************************************************************************************************************************************************",
"TASK [Debug the output] ********************************************************************************************************************************************************************************",
"OK: [localhost]",
" 0│---",
" 0│---",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
" 3│event_loop: null",
" 4│host: localhost",
" 5│play: Simple unicode output test",
" 6│play_pattern: localhost",
" 3│event_loop: null",
" 4│host: localhost",
" 5│play: Simple unicode output test",
" 6│play_pattern: localhost",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
" 8│remote_addr: localhost",
" 9│res:",
" 8│remote_addr: localhost",
" 9│res:",
"10│ _ansible_no_log: false",
"11│ _ansible_verbose_always: true",
"12│ changed: false",
"13│ output:",
"14│ changed: true",
"15│ failed: false",
"16│ rc: 0",
"17│ stderr: ''",
"18│ stderr_lines: []",
"19│ stdout: |-",
"20│ 航海家",
"21│ stdout_lines:",
"22│ - 航海家",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"24│task: Debug the output",
"25│task_action: debug",
"26│task_args: ''",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back - previous + next [0-9] goto :help help SUCCESSFUL"
]
}
Loading

0 comments on commit 013bff3

Please sign in to comment.