Skip to content

Instantly share code, notes, and snippets.

View binaryatrocity's full-sized avatar

Brandon Cornejo binaryatrocity

View GitHub Profile
@jarus
jarus / test.py
Created August 21, 2011 14:52
Testing Flask application with basic authentication
import base64
from myapplication import app
class MyTestCase(unittest.TestCase):
def setUp(self):
self.app = app.test_client()
def tearDown(self):
pass