Refactor: Resolve F811 and E712 and E501 in tests 61/68961/1
authorThanh Ha <zxiiro@gmail.com>
Sat, 9 Oct 2021 14:33:11 +0000 (10:33 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 9 Oct 2021 14:38:12 +0000 (10:38 -0400)
commit8968dfeb96c0334c273860ca64103b6fe7028ac4
tree5e0ee5b8cb55d1de48148b244fdcab7d8d5e2d59
parent3db275705ac286a6c5efbee9a8bcd76b8d70b1b8
Refactor: Resolve F811 and E712 and E501 in tests

- E501 line too long
- E712 comparison to True should be 'if cond is True:' or 'if cond:'
- E712 comparison to False should be 'if cond is False:' or 'if not cond:'
- F811 redefinition of unused 'test_log_and_exit' from line 26

Change-Id: I896e994b26d62c7bdd85ca61ebf1b9d2df9e8b1e
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
tests/test_deploy.py
tests/test_release_docker_hub.py