From c7263f41a22e3241f221e28dc8ca76c153bbaebf Mon Sep 17 00:00:00 2001
From: Thilo Wischmeyer <thwischm@gmail.com>
Date: Tue, 16 Mar 2021 11:07:27 +0100
Subject: [PATCH] Fixed flake8 warnings

---
 functional_tests/test_export_modal.py          | 1 -
 functional_tests/test_feedback_label_system.py | 5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/functional_tests/test_export_modal.py b/functional_tests/test_export_modal.py
index 6ca3a02b..6981507d 100644
--- a/functional_tests/test_export_modal.py
+++ b/functional_tests/test_export_modal.py
@@ -2,7 +2,6 @@ import json
 import os
 from pathlib import Path
 from selenium.webdriver.support.ui import WebDriverWait
-from selenium.webdriver.common.action_chains import ActionChains
 
 from core.models import UserAccount
 from functional_tests.util import GradyTestCase, login, reset_browser_after_test
diff --git a/functional_tests/test_feedback_label_system.py b/functional_tests/test_feedback_label_system.py
index 263efae7..d9e27ae6 100644
--- a/functional_tests/test_feedback_label_system.py
+++ b/functional_tests/test_feedback_label_system.py
@@ -1,7 +1,6 @@
 from selenium.webdriver.common.by import By
 from selenium.webdriver.support.ui import WebDriverWait
 from selenium.webdriver.support import expected_conditions as ec
-from selenium.webdriver.common.keys import Keys
 
 from core.models import FeedbackLabel
 from functional_tests.util import (GradyTestCase, login, reset_browser_after_test,
@@ -9,6 +8,7 @@ from functional_tests.util import (GradyTestCase, login, reset_browser_after_tes
                                    reconstruct_submission_code, wait_until_code_changes)
 from util import factory_boys as fact
 
+
 class FeedbackLabelSystemTest(GradyTestCase):
     username = None
     password = None
@@ -65,7 +65,8 @@ class FeedbackLabelSystemTest(GradyTestCase):
         ).send_keys(description)
 
         self.browser.find_elements_by_xpath(
-            '//div[contains(@class, "v-window-item--active")]//div[contains(@class, "v-color-picker__color")]'
+            '//div[contains(@class, "v-window-item--active")]'
+            '//div[contains(@class, "v-color-picker__color")]'
         )[colour_num].click()
         self.browser.find_element_by_id('update-label-btn').click()
         WebDriverWait(self.browser, 10).until(
-- 
GitLab