Skip to content

Commit

Permalink
Merge pull request #78 from level12/update-flask-requirement
Browse files Browse the repository at this point in the history
Update flask requirement
  • Loading branch information
guruofgentoo committed Sep 26, 2019
2 parents c541c4e + 15cea14 commit ab47362
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion keg_auth/tests/test_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_no_args(self):

def test_node_invalid_endpoint(self):
with pytest.raises(
Exception, message='Endpoint pink_unicorns in navigation is not registered'
Exception, match='Endpoint pink_unicorns in navigation is not registered'
):
NavItem('Foo', NavURL('pink_unicorns')).is_permitted

Expand Down
2 changes: 1 addition & 1 deletion keg_auth/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ class Foo(ViewTestBase):
'flask.current_app.auth_manager.permissions', ['foo', 'baz']
):
with pytest.raises(Exception,
message='permission bar not specified in the auth manager'):
match='permission bar not specified in the auth manager'):
Foo.setup_class()

def test_multiple_permissions_validated(self):
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@
'bcrypt',
'commonmark',

# this can be removed once level12/keg#100 has been resolved
'Flask<1.*',

'Flask-Login',
'Keg>=0.6.0',
'Keg>=0.8.0',
'KegElements',
'inflect',
'passlib',
Expand Down

0 comments on commit ab47362

Please sign in to comment.