Skip to content

Instantly share code, notes, and snippets.

@etscrivner
Created November 17, 2015 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etscrivner/c3d825537a6ba16b893b to your computer and use it in GitHub Desktop.
Save etscrivner/c3d825537a6ba16b893b to your computer and use it in GitHub Desktop.
Failing unit-tests from facebook-sdk when @unittest.skip decorator is removed.
======================================================================
ERROR: test_valid_versions (__main__.TestAPIVersion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/eric/Code/python/facebook-sdk/test/test_facebook.py", line 101, in test_valid_versions
self.assertEqual(str(graph.get_version()), version)
File "facebook/__init__.py", line 213, in get_version
raise self.create_exception_for_error(response)
GraphAPIError: An active access token must be used to query information about the current user.
======================================================================
ERROR: test_fql (__main__.TestFQL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/eric/Code/python/facebook-sdk/test/test_facebook.py", line 129, in test_fql
if graph.get_version() < 2.1:
File "facebook/__init__.py", line 213, in get_version
raise self.create_exception_for_error(response)
GraphAPIError: An active access token must be used to query information about the current user.
----------------------------------------------------------------------
Ran 15 tests in 2.732s
FAILED (errors=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment