Fix tests for pytest version 5
Fix tests for pytest version 5

* OSBS-7708

Signed-off-by: Adam Cmiel <1217f9865bd733d1bcad0d0d64be310272c5592c@redhat.com>

projectatomic/osbs-client,projectatomic/osbs-client