diff mbox series

[3/3] toaster: test_create_new_project typos, whitespace

Message ID 20231111191754.2322314-3-tim.orling@konsulko.com
State Accepted, archived
Commit 3938b53f40960ff4a96a55fe5ef35b69737538a3
Headers show
Series [1/3] toaster: use docs for BitBake link on landing page | expand

Commit Message

Tim Orling Nov. 11, 2023, 7:17 p.m. UTC
* Cleanup an extraneous # at the end of the hash bang line.
* Cleanup some trailing whitespace errors.
* Fix typo inf dunfull -> dunfell.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../tests/functional/test_create_new_project.py        | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/lib/toaster/tests/functional/test_create_new_project.py b/lib/toaster/tests/functional/test_create_new_project.py
index a211d8b7..051709b4 100644
--- a/lib/toaster/tests/functional/test_create_new_project.py
+++ b/lib/toaster/tests/functional/test_create_new_project.py
@@ -1,4 +1,4 @@ 
-#! /usr/bin/env python3 #
+#! /usr/bin/env python3
 # BitBake Toaster UI tests implementation
 #
 # Copyright (C) 2023 Savoir-faire Linux
@@ -49,7 +49,7 @@  class TestCreateNewProject(SeleniumFunctionalTestCase):
 
         element = self.wait_until_visible('#project-created-notification')
         self.assertTrue(
-            self.element_exists('#project-created-notification'), 
+            self.element_exists('#project-created-notification'),
             f"Project:{project_name} creation notification not shown"
         )
         self.assertTrue(
@@ -57,7 +57,7 @@  class TestCreateNewProject(SeleniumFunctionalTestCase):
             f"New project name:{project_name} not in new project notification"
         )
         self.assertTrue(
-            Project.objects.filter(name=project_name).count(), 
+            Project.objects.filter(name=project_name).count(),
             f"New project:{project_name} not found in database"
         )
 
@@ -101,7 +101,7 @@  class TestCreateNewProject(SeleniumFunctionalTestCase):
             True,
         )
 
-    def test_create_new_project_dunfull(self):
+    def test_create_new_project_dunfell(self):
         """ Test create new project using:
           - Project Name: Any string
           - Release: Yocto Project 3.1 "Dunfell" (option value: 5)
@@ -116,7 +116,7 @@  class TestCreateNewProject(SeleniumFunctionalTestCase):
             release_title,
             False,
         )
-    
+
     def test_create_new_project_local(self):
         """ Test create new project using:
           - Project Name: Any string