title: Can I have all of my unit tests run in the Flask app context?
body: <p>For every test I write that uses my apps models, I seem to have to use the current apps context:</p>
  
  <pre><code>SomeTestCase(unittest2.TestCase):
  
      setUp(self):
          self.app = Flask(__name__)
          ...
  
      test_something(self):
          with self.app.app_context():
              # Do something
  </code></pre>
  
  <p>Is there a way to tell all of my tests to run using the current apps context to save me having this line in all of my tests?</p>