diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/tests/functional/test_functional_basic.py | 4 | ||||
-rw-r--r-- | bitbake/lib/toaster/tests/toaster-tests-requirements.txt | 1 | ||||
-rw-r--r-- | bitbake/lib/toaster/tests/views/test_views.py | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/functional/test_functional_basic.py b/bitbake/lib/toaster/tests/functional/test_functional_basic.py index 7e9be91ca1..f558cce884 100644 --- a/bitbake/lib/toaster/tests/functional/test_functional_basic.py +++ b/bitbake/lib/toaster/tests/functional/test_functional_basic.py | |||
@@ -8,12 +8,14 @@ | |||
8 | # | 8 | # |
9 | 9 | ||
10 | import re, time | 10 | import re, time |
11 | import pytest | ||
12 | from django.urls import reverse | 11 | from django.urls import reverse |
12 | import pytest | ||
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 | |||
18 | @pytest.mark.order("last") | ||
17 | class FuntionalTestBasic(SeleniumFunctionalTestCase): | 19 | class FuntionalTestBasic(SeleniumFunctionalTestCase): |
18 | 20 | ||
19 | # testcase (1514) | 21 | # testcase (1514) |
diff --git a/bitbake/lib/toaster/tests/toaster-tests-requirements.txt b/bitbake/lib/toaster/tests/toaster-tests-requirements.txt index 7109c625d2..71cc083436 100644 --- a/bitbake/lib/toaster/tests/toaster-tests-requirements.txt +++ b/bitbake/lib/toaster/tests/toaster-tests-requirements.txt | |||
@@ -4,3 +4,4 @@ pytest-django==4.5.2 | |||
4 | pytest-env==1.1.0 | 4 | pytest-env==1.1.0 |
5 | pytest-html==4.0.2 | 5 | pytest-html==4.0.2 |
6 | pytest-metadata==3.0.0 | 6 | pytest-metadata==3.0.0 |
7 | pytest-order==1.1.0 | ||
diff --git a/bitbake/lib/toaster/tests/views/test_views.py b/bitbake/lib/toaster/tests/views/test_views.py index 06bf6c20a3..349881ebf6 100644 --- a/bitbake/lib/toaster/tests/views/test_views.py +++ b/bitbake/lib/toaster/tests/views/test_views.py | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | """Test cases for Toaster GUI and ReST.""" | 10 | """Test cases for Toaster GUI and ReST.""" |
11 | 11 | ||
12 | import pytest | ||
12 | from django.test import TestCase | 13 | from django.test import TestCase |
13 | from django.test.client import RequestFactory | 14 | from django.test.client import RequestFactory |
14 | from django.urls import reverse | 15 | from django.urls import reverse |
@@ -33,6 +34,7 @@ PROJECT_NAME2 = "test project 2" | |||
33 | CLI_BUILDS_PROJECT_NAME = 'Command line builds' | 34 | CLI_BUILDS_PROJECT_NAME = 'Command line builds' |
34 | 35 | ||
35 | 36 | ||
37 | @pytest.mark.order(1) | ||
36 | class ViewTests(TestCase): | 38 | class ViewTests(TestCase): |
37 | """Tests to verify view APIs.""" | 39 | """Tests to verify view APIs.""" |
38 | 40 | ||