Example #1
0
 def test_dataset_items_search_detail_for_extra_information(self):
     qs = CrunchbaseQueryset(dataset_uri=self.dataset_uri)
     item = qs[0]
     self.assertTrue(item['properties__short_description'])
     # We're gonna start by matching exactly the requirements we used for the original list() implementation
     detail = CrunchbaseEndpoint(
         CrunchbaseQuery.ENDPOINTS['companies']).detail(item['path'])
     self.assertEqual(detail['data']['properties']['short_description'],
                      item['properties__short_description'])
Example #2
0
 def setUp(self):
     self.ep = CrunchbaseEndpoint(CrunchbaseQuery.ENDPOINTS['companies'])