Skip to content

Commit

Permalink
Pin requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jul 31, 2015
1 parent 094907c commit d03c674
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions requirements.txt
@@ -1,5 +1,5 @@
Flask
Mock
oauthlib
requests-oauthlib
Flask-SQLAlchemy
Flask==0.10.1
mock==1.3.0
oauthlib==0.7.2
requests-oauthlib==0.5.0
Flask-SQLAlchemy==2.0
4 changes: 2 additions & 2 deletions tests/test_oauth2/test_code.py
Expand Up @@ -29,10 +29,10 @@ def prepare_data(self):

def test_get_authorize(self):
rv = self.client.get('/oauth/authorize')
assert 'invalid_client_id' in rv.location
assert 'client_id' in rv.location

rv = self.client.get('/oauth/authorize?client_id=no')
assert 'invalid_client_id' in rv.location
assert 'client_id' in rv.location

url = '/oauth/authorize?client_id=%s' % self.oauth_client.client_id
rv = self.client.get(url)
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Expand Up @@ -3,8 +3,6 @@ envlist = py26,py27,py33,py34,pypy

[testenv]
deps =
git+https://github.com/idan/oauthlib.git#egg=oauthlib
nose
Mock
Flask-SQLAlchemy
-rrequirements.txt
commands = nosetests -s

0 comments on commit d03c674

Please sign in to comment.