977e53a TESTS: Fix check for py bindings in dlopen tests

1 file Authored by fidencio 7 years ago, Committed by lslebodn 7 years ago,
    TESTS: Fix check for py bindings in dlopen tests
    
    The current code checks only for "HAVE_PYTHON_BINDINGS", which is not
    even a valid check. Let's do the proper check according to the python
    version (HAVE_PYTHON2_BINDINGS or HAVE_PYTHON3_BINDINGS).
    
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
    (cherry picked from commit 8a681cc41672afd1532b4a0c7e9da3a4eb2014a7)
    
        
file modified
+2 -2