'Test if incdec_number rejects a wrong parameter for incdec.'

def test_wrong_mode(self):

    valid_url = QUrl('http://example.com/0')
    with pytest.raises(ValueError):
        urlutils.incdec_number(valid_url, 'foobar')
