Commits

Éric Araujo committed b66d434

* Fix typo from an earlier search-and-replace.
* Remove unused import.

Comments (0)

Files changed (3)

pyramid_facebook/auth.py

 # -*- coding: utf-8 -*-
 import logging
 
-from pyramid.httpexceptions import HTTPForbidden, HTTPFound
+from pyramid.httpexceptions import HTTPForbidden
 from pyramid.response import Response
 from pyramid.view import view_config, view_defaults
 

pyramid_facebook/tests/unittests/test_auth.py

 
         result = view.oauth_deny()
 
-        request.route_path.assertTruecalled_once_with('facebook_canvas')
+        request.route_path.assert_called_once_with('facebook_canvas')
         self.assertTrue(request.registry.notify.called)
 
         self.assertIsInstance(

pyramid_facebook/tests/unittests/test_canvas.py

 
         result = prompt_authorize(request.context, request)
 
-        request.route_path.assertTruecalled_once_with('facebook_canvas_oauth')
+        request.route_path.assert_called_once_with('facebook_canvas_oauth')
 
         expected = """200 OK
 Content-Type: text/html; charset=UTF-8