'Show that github3.login proxies to GitHub.'

def test_login(self):

    args = ('login', 'password', None, None)
    with mock.patch.object(github3.GitHub, 'login') as login:
        g = github3.login(*args)
        assert isinstance(g, github3.GitHub)
        assert (not isinstance(g, github3.GitHubEnterprise))
        login.assert_called_once_with(*args)
