70abfdd [cli] fix assert_called_with params

1 file Authored by frostyx 5 years ago, Committed by msuchy 5 years ago,
    [cli] fix assert_called_with params
    
    When assert_called_with function is used for method, it counts on
    the `self` object as the first argument. This behaves differently
    in epel6 where it ommits the `self` parameter.
    
    The most platform independet solution is assert whether the method
    was called and then examine the call arguments.
    
        
file modified
+10 -8