fix typos

This commit is contained in:
Thomas Waldmann 2013-05-25 22:01:14 +02:00
parent f9e9e77464
commit 13cc69911c
5 changed files with 10 additions and 10 deletions

View file

@ -105,7 +105,7 @@ class ModuleTestCase(FlaskTestCase):
app = flask.Flask(__name__)
admin = flask.Module(__name__, 'admin', url_prefix='/admin')
@app.context_processor
def inject_all_regualr():
def inject_all_regular():
return {'a': 1}
@admin.context_processor
def inject_admin():
@ -534,7 +534,7 @@ class BlueprintTestCase(FlaskTestCase):
c = app.test_client()
self.assertEqual(c.get('/py/foo').data, b'bp.foo')
# The rule's din't actually made it through
# The rule's didn't actually made it through
rv = c.get('/py/bar')
assert rv.status_code == 404
rv = c.get('/py/bar/123')