diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-01-25 14:13:00 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-01-25 14:13:00 -0800 |
commit | 161ad38959e7bea6967760c0418f90850f77a9c9 (patch) | |
tree | 8e984942d403d8b99f101e104a61adffbcb4dbb8 /tests/test_wikidata_org.py | |
parent | 5bcc6a37f76af99843dc82524bdf7c666da5eafd (diff) | |
download | basebasebase-161ad38959e7bea6967760c0418f90850f77a9c9.tar.gz basebasebase-161ad38959e7bea6967760c0418f90850f77a9c9.zip |
more tests
Diffstat (limited to 'tests/test_wikidata_org.py')
-rw-r--r-- | tests/test_wikidata_org.py | 5 |
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() |