Add header separaton to list-hosts and list-channels

Fixes: https://pagure.io/koji/issue/3337
This commit is contained in:
Jana Cupova 2022-04-22 13:07:19 +02:00 committed by Tomas Kopecek
parent 8732cf0499
commit 3c84d99bf4
3 changed files with 14 additions and 1 deletions

View file

@ -52,6 +52,7 @@ class TestListHosts(utils.CliTestCase):
self.options.quiet = False
host_update = 1615875554.862938
expected = """Hostname Enb Rdy Load/Cap Arches Last Update
-----------------------------------------------------------------------------------
kojibuilder N Y 0.0/2.0 x86_64 Tue, 16 Mar 2021 06:19:14 UTC
"""
@ -190,6 +191,9 @@ kojibuilder N Y 0.0/2.0 x86_64 Tue, 16 Mar 2021 06:19:14 UTC
expected = "Hostname Enb Rdy Load/Cap Arches Last Update" \
" Description " \
"Comment \n" \
"---------------------------------------------------------------------------" \
"---------------------------------------------------------------------------" \
"-----------------------------------\n" \
"kojibuilder N Y 0.0/2.0 x86_64 Tue, 16 Mar 2021 06:19:14 UTC" \
" test-description test-comment" \
" \n"