From 577ab316e4b9cc956aedd3b21dc19aae586c9c4f Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 11 Nov 2023 11:17:57 -0800 Subject: 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../lib/toaster/tests/functional/test_create_new_project.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bitbake/lib/toaster') 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 @@ -#! /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 -- cgit v1.2.3-54-g00ecf