Explorar o código

Disable photo rail test

Zed %!s(int64=3) %!d(string=hai) anos
pai
achega
d7ca353a55
Modificáronse 1 ficheiros con 7 adicións e 7 borrados
  1. 7 7
      tests/test_timeline.py

+ 7 - 7
tests/test_timeline.py

@@ -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)