diff options
author | Tim Orling <ticotimo@gmail.com> | 2023-11-11 11:17:57 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-14 23:39:53 +0000 |
commit | 577ab316e4b9cc956aedd3b21dc19aae586c9c4f (patch) | |
tree | 034932ecb643ee041a605a5d441479362c7e7597 | |
parent | 285a6ba4ee8ee76e4b5a41473d280d2dec990631 (diff) | |
download | poky-577ab316e4b9cc956aedd3b21dc19aae586c9c4f.tar.gz |
bitbake: toaster: test_create_new_project typos, whitespace
* Cleanup an extraneous # at the end of the hash bang line.
* Cleanup some trailing whitespace errors.
* Fix typo inf dunfull -> dunfell.
(Bitbake rev: 3938b53f40960ff4a96a55fe5ef35b69737538a3)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/toaster/tests/functional/test_create_new_project.py | 10 |
1 files changed, 5 insertions, 5 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 a211d8b759..051709b45e 100644 --- a/bitbake/lib/toaster/tests/functional/test_create_new_project.py +++ b/bitbake/lib/toaster/tests/functional/test_create_new_project.py | |||
@@ -1,4 +1,4 @@ | |||
1 | #! /usr/bin/env python3 # | 1 | #! /usr/bin/env python3 |
2 | # BitBake Toaster UI tests implementation | 2 | # BitBake Toaster UI tests implementation |
3 | # | 3 | # |
4 | # Copyright (C) 2023 Savoir-faire Linux | 4 | # Copyright (C) 2023 Savoir-faire Linux |
@@ -49,7 +49,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): | |||
49 | 49 | ||
50 | element = self.wait_until_visible('#project-created-notification') | 50 | element = self.wait_until_visible('#project-created-notification') |
51 | self.assertTrue( | 51 | self.assertTrue( |
52 | self.element_exists('#project-created-notification'), | 52 | self.element_exists('#project-created-notification'), |
53 | f"Project:{project_name} creation notification not shown" | 53 | f"Project:{project_name} creation notification not shown" |
54 | ) | 54 | ) |
55 | self.assertTrue( | 55 | self.assertTrue( |
@@ -57,7 +57,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): | |||
57 | f"New project name:{project_name} not in new project notification" | 57 | f"New project name:{project_name} not in new project notification" |
58 | ) | 58 | ) |
59 | self.assertTrue( | 59 | self.assertTrue( |
60 | Project.objects.filter(name=project_name).count(), | 60 | Project.objects.filter(name=project_name).count(), |
61 | f"New project:{project_name} not found in database" | 61 | f"New project:{project_name} not found in database" |
62 | ) | 62 | ) |
63 | 63 | ||
@@ -101,7 +101,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): | |||
101 | True, | 101 | True, |
102 | ) | 102 | ) |
103 | 103 | ||
104 | def test_create_new_project_dunfull(self): | 104 | def test_create_new_project_dunfell(self): |
105 | """ Test create new project using: | 105 | """ Test create new project using: |
106 | - Project Name: Any string | 106 | - Project Name: Any string |
107 | - Release: Yocto Project 3.1 "Dunfell" (option value: 5) | 107 | - Release: Yocto Project 3.1 "Dunfell" (option value: 5) |
@@ -116,7 +116,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): | |||
116 | release_title, | 116 | release_title, |
117 | False, | 117 | False, |
118 | ) | 118 | ) |
119 | 119 | ||
120 | def test_create_new_project_local(self): | 120 | def test_create_new_project_local(self): |
121 | """ Test create new project using: | 121 | """ Test create new project using: |
122 | - Project Name: Any string | 122 | - Project Name: Any string |