def test_responds_with_top_level_json_name_if_present(self):
        response = self.get_response('/albums', 200)
        assert len(json.loads(response.get_data(as_text=True))[u'Albums']) == 347
Test top level json element is the one defined on the Model
dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanUserDefinitions.test_responds_with_top_level_json_name_if_present