summaryrefslogtreecommitdiffstats
path: root/tests/test_wikidata_org.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-01-25 14:13:00 -0800
committerbnewbold <bnewbold@robocracy.org>2016-01-25 14:13:00 -0800
commit161ad38959e7bea6967760c0418f90850f77a9c9 (patch)
tree8e984942d403d8b99f101e104a61adffbcb4dbb8 /tests/test_wikidata_org.py
parent5bcc6a37f76af99843dc82524bdf7c666da5eafd (diff)
downloadbasebasebase-161ad38959e7bea6967760c0418f90850f77a9c9.tar.gz
basebasebase-161ad38959e7bea6967760c0418f90850f77a9c9.zip
more tests
Diffstat (limited to 'tests/test_wikidata_org.py')
-rw-r--r--tests/test_wikidata_org.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_wikidata_org.py b/tests/test_wikidata_org.py
index 7f6e377..3222870 100644
--- a/tests/test_wikidata_org.py
+++ b/tests/test_wikidata_org.py
@@ -34,5 +34,8 @@ class TestWikidataOrg(unittest.TestCase):
raise SkipTest("Couldn't connect wikidata.org")
def test_low_level(self):
- self.srv._get("wbgetclaims", dict(entity="Q42"))
+ self.srv._get("wbgetclaims", dict(entity="Q11"))
+ def test_item_object(self):
+ item = self.srv.get_item("Q10")
+ item.to_dict()