def test_merge_args_get_all_from_args(): args = (1, 2, 3) std_args = () assert (1, 2, 3) == DbusMethod.merge_args(args, std_args) std_args = (4, 5, 6) assert (1, 2, 3) == DbusMethod.merge_args(args, std_args)
def test_merge_args_both_empty(): args = () std_args = () assert () == DbusMethod.merge_args(args, std_args)
def test_merge_args_complete_with_std(): args = (1, 2) std_args = (4, 5, 6) assert (1, 2, 6) == DbusMethod.merge_args(args, std_args)