def test_loads_multiple_json_documents(self): json_str = '{ "test" : "me" }' self.assertEqual(bsonjs.loads(json_str), bsonjs.loads(json_str + "{}"))