diff options
author | Alassane Yattara <alassane.yattara@savoirfairelinux.com> | 2023-11-21 14:49:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-23 12:06:06 +0000 |
commit | 26ac6923e23555d79423be0808f87c9091d30c6a (patch) | |
tree | 774913281ada8cebb95595603ab3055e51199863 /bitbake/lib | |
parent | ff3a48920ab0312cdd12ee6986853927d9f75910 (diff) | |
download | poky-26ac6923e23555d79423be0808f87c9091d30c6a.tar.gz |
bitbake: toaster/tests/create_new_project: Code cleanup
Fixed
- Select import,
- Remove trailing whitespace,
- Set excepted 2lines after imports
(Bitbake rev: f0c91629fad2e556cd429f561cc244aef4b7b066)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/tests/functional/test_create_new_project.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/functional/test_create_new_project.py b/bitbake/lib/toaster/tests/functional/test_create_new_project.py index 051709b45e..dc7d1fc20b 100644 --- a/bitbake/lib/toaster/tests/functional/test_create_new_project.py +++ b/bitbake/lib/toaster/tests/functional/test_create_new_project.py | |||
@@ -9,11 +9,12 @@ | |||
9 | import re | 9 | import re |
10 | import pytest | 10 | import pytest |
11 | from django.urls import reverse | 11 | from django.urls import reverse |
12 | from selenium.webdriver.support.ui import Select | 12 | from selenium.webdriver.support.select import Select |
13 | from tests.functional.functional_helpers import SeleniumFunctionalTestCase | 13 | from tests.functional.functional_helpers import SeleniumFunctionalTestCase |
14 | from orm.models import Project | 14 | from orm.models import Project |
15 | from selenium.webdriver.common.by import By | 15 | from selenium.webdriver.common.by import By |
16 | 16 | ||
17 | |||
17 | @pytest.mark.django_db | 18 | @pytest.mark.django_db |
18 | class TestCreateNewProject(SeleniumFunctionalTestCase): | 19 | class TestCreateNewProject(SeleniumFunctionalTestCase): |
19 | 20 | ||