Skip to content

Commit e6bc813

Browse files
Merge pull request #575 from Brain-up/issue_433
Issue_433_EXERCISES_WORDS_RU_PAGE_images
2 parents 5205593 + 5fc355d commit e6bc813

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pages/exercises_ru_words_page.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,13 @@ def click_on_subgroup_link_beloved_home_food_clothes(self):
232232
# Checking images on the page
233233
@allure.step("Get the list of attribute 'style' values of images in links")
234234
def get_links_style(self):
235-
style = [image.get_attribute('style') for image in self.get_list4_of_links()]
236235
# print(len(style), *style, sep='\n')
237-
return style
236+
return [image.get_attribute('style') for image in self.get_list4_of_links()]
238237

239238
@allure.step("Get the list of sizes of background-images in links")
240239
def get_images_sizes(self):
241-
images_size = [image.size for image in self.get_list4_of_links()]
242240
# print(len(images_size), *images_size, sep='\n')
243-
return images_size
241+
return [image.size for image in self.get_list4_of_links()]
244242

245243
@allure.step("Check changes of images sizes after resizing")
246244
def check_size_changes_of_images(self):

0 commit comments

Comments
 (0)