diff options
author | zlg <zlg@zlg.space> | 2018-10-06 22:04:53 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-10-06 22:04:53 -0700 |
commit | 9de7357d758ab2253061ce7d68fb3942b52ee7a3 (patch) | |
tree | e227d7d71b7a7bd04d1698db0e5117f5edb73dd9 /src/vgstash/test_vgstash_cli.py | |
parent | Bump to 0.3alpha5 for PyPI (diff) | |
download | vgstash-9de7357d758ab2253061ce7d68fb3942b52ee7a3.tar.gz vgstash-9de7357d758ab2253061ce7d68fb3942b52ee7a3.tar.bz2 vgstash-9de7357d758ab2253061ce7d68fb3942b52ee7a3.tar.xz vgstash-9de7357d758ab2253061ce7d68fb3942b52ee7a3.zip |
cli: change "Status" heading to "Progress"
Diffstat (limited to 'src/vgstash/test_vgstash_cli.py')
-rw-r--r-- | src/vgstash/test_vgstash_cli.py | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/src/vgstash/test_vgstash_cli.py b/src/vgstash/test_vgstash_cli.py index d0def8b..7306a7d 100644 --- a/src/vgstash/test_vgstash_cli.py +++ b/src/vgstash/test_vgstash_cli.py @@ -83,49 +83,52 @@ def test_list_filter(): )) def test_list_pretty(): + print() runner = CliRunner() result = runner.invoke(vgstash_cli.cli, ['list', '-w', '80']) if verbose: print(result.output) assert result.exit_code == 0 assert result.output == '\n'.join(( - ' ID | Title | System | Own | Status ', + ' ID | Title | System | Own | Progress ', '--------------------------------------------------------------------------------', - ' 3 | Sonic the Hedgehog 2 | Genesis | | C', - ' 4 | Vectorman | Genesis | | C', - ' 5 | Vectorman 2 | Genesis | P | B ', - ' 1 | Super Mario Bros. | NES | P | B ', - ' 2 | The Legend of Zelda | NES | D | B \n' + ' 3 | Sonic the Hedgehog 2 | Genesis | | B', + ' 4 | Vectorman | Genesis | | B', + ' 5 | Vectorman 2 | Genesis | P | P ', + ' 1 | Super Mario Bros. | NES | P | P ', + ' 2 | The Legend of Zelda | NES | D | P \n', )) def test_list_pretty_smaller(): + print() runner = CliRunner() result = runner.invoke(vgstash_cli.cli, ['list', '-w', '60']) if verbose: print(result.output) assert result.exit_code == 0 assert result.output == '\n'.join(( - ' ID | Title | System | Own | Status ', + ' ID | Title | System | Own | Progress ', '------------------------------------------------------------', - ' 3 | Sonic the Hedgehog 2 | Genesis | | C', - ' 4 | Vectorman | Genesis | | C', - ' 5 | Vectorman 2 | Genesis | P | B ', - ' 1 | Super Mario Bros. | NES | P | B ', - ' 2 | The Legend of Zelda | NES | D | B \n' + ' 3 | Sonic the Hedgehog 2 | Genesis | | B', + ' 4 | Vectorman | Genesis | | B', + ' 5 | Vectorman 2 | Genesis | P | P ', + ' 1 | Super Mario Bros. | NES | P | P ', + ' 2 | The Legend of Zelda | NES | D | P \n' )) def test_list_pretty_tiny(): + print() runner = CliRunner() result = runner.invoke(vgstash_cli.cli, ['list', '-w', '50']) if verbose: print(result.output) assert result.exit_code == 0 assert result.output == '\n'.join(( - ' ID | Title | System | Own | Status ', + ' ID | Title | System | Own | Progress ', '--------------------------------------------------', - ' 3 | Sonic the Hedge | Genesis | | C', - ' 4 | Vectorman | Genesis | | C', - ' 5 | Vectorman 2 | Genesis | P | B ', - ' 1 | Super Mario Bro | NES | P | B ', - ' 2 | The Legend of Z | NES | D | B \n' + ' 3 | Sonic the Hedg | Genesis | | B', + ' 4 | Vectorman | Genesis | | B', + ' 5 | Vectorman 2 | Genesis | P | P ', + ' 1 | Super Mario Br | NES | P | P ', + ' 2 | The Legend of | NES | D | P \n' )) |