# Path: gitmostwanted/blueprints/user_oauth.py
# @user_oauth.route('/oauth/login')
# def login():
#     return oauth.github.authorize_redirect(
#         redirect_uri=url_for('user_oauth.authorized', next=url_next(), _external=True),
#         scope=request.args.get('scope')
#     )
# 
# def url_next():
#     return request.args.get('next') or request.referrer or None
# 
# Path: gitmostwanted/web.py

# 
# Path: gitmostwanted/app.py



from gitmostwanted.blueprints.user_oauth import login, url_next
from gitmostwanted.web import app
from gitmostwanted.app import db
from unittest import TestCase, skipIf
import flask


class WebTestCase(TestCase):
    def setUp(self):
        self.app = app.test_client()

    def tearDown(self):
        pass

    @classmethod
    def setUpClass(cls):

# Path: gitmostwanted/blueprints/user_oauth.py
# @user_oauth.route('/oauth/login')
# def login():
#     return oauth.github.authorize_redirect(
#         redirect_uri=url_for('user_oauth.authorized', next=url_next(), _external=True),
#         scope=request.args.get('scope')
#     )
# 
# def url_next():
#     return request.args.get('next') or request.referrer or None
# 
# Path: gitmostwanted/web.py

# 
# Path: gitmostwanted/app.py



# Path: tests/unit/test_web.py
from gitmostwanted.blueprints.user_oauth import login, url_next
from gitmostwanted.web import app
from gitmostwanted.app import db
from unittest import TestCase, skipIf
import flask



class WebTestCase(TestCase):
    def setUp(self):
        self.app = app.test_client()

    def tearDown(self):
        pass

    @classmethod
    def setUpClass(cls):

        db.create_all()