summaryrefslogtreecommitdiffstats
path: root/tests/test_json.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_json.py
parent5bcc6a37f76af99843dc82524bdf7c666da5eafd (diff)
downloadbasebasebase-161ad38959e7bea6967760c0418f90850f77a9c9.tar.gz
basebasebase-161ad38959e7bea6967760c0418f90850f77a9c9.zip
more tests
Diffstat (limited to 'tests/test_json.py')
-rw-r--r--tests/test_json.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/test_json.py b/tests/test_json.py
deleted file mode 100644
index 19dfc18..0000000
--- a/tests/test_json.py
+++ /dev/null
@@ -1,27 +0,0 @@
-"""
-This file contains tests that parse and dump JSON serialized entities.
-
-It requires the 'nose' python package. To run it, just enter this directory and
-do:
-
- $ nosetests
-
-If there are errors it can be helpful to debug with:
-
- $ nosetests --pdb
-"""
-
-from nose.tools import *
-from nose.plugins.skip import SkipTest
-import unittest
-import random
-import json
-
-from bbb import *
-
-class TestJSON(unittest.TestCase):
-
- def test_wikidata_org_item(self):
- with open('tests/example_item_nyc.json', 'r') as f:
- d = json.loads(''.join(f.readlines()))
- wi = WikibaseItem.from_dict(d)