summaryrefslogtreecommitdiff
path: root/test/test_all.py
diff options
context:
space:
mode:
authornitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-06-18 01:21:58 +0000
committernitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-06-18 01:21:58 +0000
commitf05ce08c153f8657324c9072b35d4e1df12dfc37 (patch)
tree1636538dd1fdbd95012aff529c3ed3a79c8646b8 /test/test_all.py
parentaa74beaa2206f85f7b73b21a53f09ed19e910add (diff)
fixed freebase.version() bug and added test case
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@102 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'test/test_all.py')
-rwxr-xr-xtest/test_all.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_all.py b/test/test_all.py
index b07cb35..1dd01ed 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -228,7 +228,9 @@ class TestFreebase(unittest.TestCase):
r = freebase.sandbox.uri_submit("http://datamob.org/media/detail_freebase.png")
self.assertEqual(r['/type/content/media_type'], 'image/png')
-
+ def test_version(self):
+ r = freebase.version()
+ self.assertNotEqual(len(r), 0)
if __name__ == '__main__':
if USERNAME == "username" and PASSWORD == "password":