Пример #1
0
 def test_crawli(self):
     jsn = getli(EXAMPLE_URL)
     del jsn['url']
     self.assertTrue(jsn['name']['full-name'] == 'Mek Karpeles',
                     "Tests data does not match live data from LinkedIn")
Пример #2
0
 def test_crawli(self):
     jsn = getli(EXAMPLE_URL)
     del jsn['url']
     self.assertTrue(jsn['name']['full-name'] == 'Mek Karpeles',
                     "Tests data does not match live data from LinkedIn")
Пример #3
0
 def test_crawli(self):
     jsn = getli(EXAMPLE_URL)
     del jsn['url']
     self.assertTrue(EXAMPLE_DATA == jsn,
                     "Tests data does not match live data from LinkedIn")