Skip to content

Commit

Permalink
Update invalid format tests.
Browse files Browse the repository at this point in the history
Change invalid format tests to use API versions which start with 2.*
instead of 1.*.
  • Loading branch information
martey committed May 2, 2015
1 parent 93a9305 commit de82392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_facebook.py
Expand Up @@ -80,13 +80,13 @@ def test_invalid_version(self):

def test_invalid_format(self):
self.assertRaises(facebook.GraphAPIError,
facebook.GraphAPI, version="1.a")
facebook.GraphAPI, version="2.a")
self.assertRaises(facebook.GraphAPIError,
facebook.GraphAPI, version="a.1")
self.assertRaises(facebook.GraphAPIError,
facebook.GraphAPI, version=1.23)
facebook.GraphAPI, version=2.23)
self.assertRaises(facebook.GraphAPIError,
facebook.GraphAPI, version="1.23")
facebook.GraphAPI, version="2.23")


class TestFQL(FacebookTestCase):
Expand Down

0 comments on commit de82392

Please sign in to comment.