olivierlefloch/django-short-urls — pull request #3 by olivierlefloch (2012-10-13 00:27:51+00:00)
Title: Olefloch/wfu 1747/validate random short paths

To test, connect everything together, then in the shortener:

./manage.py test

should return without error, and in WFU:

./bin/util/shorten.py --server="http://127.0.0.1:8000' 'http://work4labs.com/?123'
./bin/util/shorten.py --server="http://127.0.0.1:8000' 'http://work4labs.com/?234'
./bin/util/shorten.py --server="http://127.0.0.1:8000' 'http://work4labs.com/?345'
./bin/util/shorten.py --server="http://127.0.0.1:8000' 'http://work4labs.com/?456'

shouldn't return a single link that doesn't match the random short path constraints.