Fix: decrement url test was set to increment.

This commit is contained in:
Michael Ilsaas 2016-01-21 17:15:48 +01:00
parent c33e9555a1
commit 1ecccc1133

View File

@ -611,7 +611,7 @@ class TestIncDecNumber:
base_url = QUrl(url.format(number))
expected_url = QUrl(url.format(expected))
new_url = urlutils.incdec_number(
base_url, 'increment', segments={'path'})
base_url, 'decrement', segments={'path'})
assert new_url == expected_url
@pytest.mark.parametrize('url, segments, expected', [