mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 08:25:32 +00:00
Disable photo rail test
This commit is contained in:
parent
54e6ce14ac
commit
d7ca353a55
|
@ -55,10 +55,10 @@ class TweetTest(BaseTestCase):
|
|||
self.assert_element_absent(Timeline.older)
|
||||
self.assert_element_absent(Timeline.end)
|
||||
|
||||
@parameterized.expand(photo_rail)
|
||||
def test_photo_rail(self, username, images):
|
||||
self.open_nitter(username)
|
||||
self.assert_element_visible(Timeline.photo_rail)
|
||||
for i, url in enumerate(images):
|
||||
img = self.get_attribute(Timeline.photo_rail + f' a:nth-child({i + 1}) img', 'src')
|
||||
self.assertIn(url, img)
|
||||
#@parameterized.expand(photo_rail)
|
||||
#def test_photo_rail(self, username, images):
|
||||
#self.open_nitter(username)
|
||||
#self.assert_element_visible(Timeline.photo_rail)
|
||||
#for i, url in enumerate(images):
|
||||
#img = self.get_attribute(Timeline.photo_rail + f' a:nth-child({i + 1}) img', 'src')
|
||||
#self.assertIn(url, img)
|
||||
|
|
Loading…
Reference in a new issue