add more merge cases

This commit is contained in:
David Lord 2018-05-01 13:29:48 -07:00
parent f7a3bdc6db
commit b21b4d1608
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 8 additions and 3 deletions

View file

@ -116,7 +116,12 @@ def test_blueprint_app_error_handling(app, client):
@pytest.mark.parametrize(('prefix', 'rule', 'url'), (
('', '/', '/'),
('/', '', '/'),
('/', '/', '/'),
('/foo', '', '/foo'),
('/foo/', '', '/foo/'),
('', '/bar', '/bar'),
('/foo/', '/bar', '/foo/bar'),
('/foo/', 'bar', '/foo/bar'),
('/foo', '/bar', '/foo/bar'),