title: Testing Flask routes do and don't exist
body: <p>I'm creating a large number of Flask routes <a href="https://stackoverflow.com/questions/5870188/does-flask-support-regular-expressions-in-its-url-routing">using regular expressions</a>. I'd like to have a unit test that checks that the correct routes exist and that incorrect routes 404. </p>
  
  <p>One way of doing this would be to spin up a local server and use <code>urllib2.urlopen</code> or the like. However, I'd like to be able to run this test on Travis, and I'm assuming that's not an option. </p>
  
  <p>Is there another way for me to test routes on my application?</p>