1c9c2dc Fix test_main_valid_args() on Python 3.11

Authored and Committed by nphilipp 2 years ago
    Fix test_main_valid_args() on Python 3.11
    
    Previously, the test mocked an existing Mock which isn't supported
    anymore in Python 3.11.
    
    See: https://bugzilla.redhat.com/show_bug.cgi?id=2081968
    
    Signed-off-by: Nils Philippsen <nils@redhat.com>