diff --git a/swh/icinga_plugins/tests/test_deposit.py b/swh/icinga_plugins/tests/test_deposit.py --- a/swh/icinga_plugins/tests/test_deposit.py +++ b/swh/icinga_plugins/tests/test_deposit.py @@ -47,11 +47,12 @@ ENTRY_TEMPLATE = """ - 42 - 2019-12-19 18:11:00 - foo.tar.gz - {status} + 42 + 2019-12-19 18:11:00 + foo.tar.gz + {status} http://purl.org/net/sword/package/SimpleZip @@ -61,10 +62,11 @@ STATUS_TEMPLATE = """ - 42 - {status} - {status_detail}%s + 42 + {status} + {status_detail}%s """ @@ -76,7 +78,9 @@ """ if swhid is not None: - template = STATUS_TEMPLATE % f"\n {swhid}" + template = ( + STATUS_TEMPLATE % f"\n {swhid}" + ) return template.format(status=status, status_detail=status_detail, swhid=swhid) template = STATUS_TEMPLATE % "" return template.format(status=status, status_detail=status_detail) @@ -89,10 +93,11 @@ == """ - 42 - deposited - + 42 + deposited + """ ) @@ -103,10 +108,11 @@ == """ - 42 - verified - detail + 42 + verified + detail """ ) @@ -117,11 +123,12 @@ == """ - 42 - done - - 10 + 42 + done + + 10 """ )