Add support of custom routers rules

This commit is contained in:
Ivan Salamakha 2017-11-10 14:34:45 +02:00
parent b3703fe5e7
commit 4d16805d29

View File

@ -867,7 +867,7 @@ def test_custom_route_converters():
results.append(id) results.append(id)
return text('OK') return text('OK')
request, response = app.test_client.get('/folder/test123') request, response = app.test_client.get('/folder/e010dcb8-6b40-11e7-8e04-0242ac120022')
assert response.text == 'OK' assert response.text == 'OK'
assert isinstance(results[0], uuid.UUID) assert isinstance(results[0], uuid.UUID)