summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/tests/browser
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/tests/browser')
-rw-r--r--bitbake/lib/toaster/tests/browser/test_all_builds_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_all_projects_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_js_unit_tests.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_landing_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_layerdetails_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_new_project_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_project_builds_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_project_config_page.py5
-rw-r--r--bitbake/lib/toaster/tests/browser/test_project_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_sample.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_task_page.py2
-rw-r--r--bitbake/lib/toaster/tests/browser/test_toastertable_ui.py2
18 files changed, 20 insertions, 19 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_all_builds_page.py b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
index fba627bd21..8423d3dab2 100644
--- a/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
@@ -9,7 +9,7 @@
9 9
10import re 10import re
11 11
12from django.core.urlresolvers import reverse 12from django.urls import reverse
13from django.utils import timezone 13from django.utils import timezone
14from tests.browser.selenium_helpers import SeleniumTestCase 14from tests.browser.selenium_helpers import SeleniumTestCase
15 15
diff --git a/bitbake/lib/toaster/tests/browser/test_all_projects_page.py b/bitbake/lib/toaster/tests/browser/test_all_projects_page.py
index afd2d3566e..15b03400f9 100644
--- a/bitbake/lib/toaster/tests/browser/test_all_projects_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_all_projects_page.py
@@ -9,7 +9,7 @@
9 9
10import re 10import re
11 11
12from django.core.urlresolvers import reverse 12from django.urls import reverse
13from django.utils import timezone 13from django.utils import timezone
14from tests.browser.selenium_helpers import SeleniumTestCase 14from tests.browser.selenium_helpers import SeleniumTestCase
15 15
diff --git a/bitbake/lib/toaster/tests/browser/test_builddashboard_page.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page.py
index d972aff1bd..efcd89b346 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12 12
13from tests.browser.selenium_helpers import SeleniumTestCase 13from tests.browser.selenium_helpers import SeleniumTestCase
diff --git a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
index e2623e8ad3..c6226d60eb 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12 12
13from tests.browser.selenium_helpers import SeleniumTestCase 13from tests.browser.selenium_helpers import SeleniumTestCase
diff --git a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py
index c542d45f1e..9d85ba990c 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_recipes.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12from tests.browser.selenium_helpers import SeleniumTestCase 12from tests.browser.selenium_helpers import SeleniumTestCase
13from orm.models import Project, Build, Recipe, Task, Layer, Layer_Version 13from orm.models import Project, Build, Recipe, Task, Layer, Layer_Version
diff --git a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py
index 22acb470ac..7fdf75d0a8 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_tasks.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12from tests.browser.selenium_helpers import SeleniumTestCase 12from tests.browser.selenium_helpers import SeleniumTestCase
13from orm.models import Project, Build, Recipe, Task, Layer, Layer_Version 13from orm.models import Project, Build, Recipe, Task, Layer, Layer_Version
diff --git a/bitbake/lib/toaster/tests/browser/test_js_unit_tests.py b/bitbake/lib/toaster/tests/browser/test_js_unit_tests.py
index e8b4295b86..e6163bb3b2 100644
--- a/bitbake/lib/toaster/tests/browser/test_js_unit_tests.py
+++ b/bitbake/lib/toaster/tests/browser/test_js_unit_tests.py
@@ -11,7 +11,7 @@
11Run the js unit tests 11Run the js unit tests
12""" 12"""
13 13
14from django.core.urlresolvers import reverse 14from django.urls import reverse
15from tests.browser.selenium_helpers import SeleniumTestCase 15from tests.browser.selenium_helpers import SeleniumTestCase
16import logging 16import logging
17 17
diff --git a/bitbake/lib/toaster/tests/browser/test_landing_page.py b/bitbake/lib/toaster/tests/browser/test_landing_page.py
index 07901989d5..8bb64b9f3e 100644
--- a/bitbake/lib/toaster/tests/browser/test_landing_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_landing_page.py
@@ -7,7 +7,7 @@
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 Intel Corporation
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12from tests.browser.selenium_helpers import SeleniumTestCase 12from tests.browser.selenium_helpers import SeleniumTestCase
13 13
diff --git a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
index f81e696a26..71bdd2aafd 100644
--- a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
@@ -7,7 +7,7 @@
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 Intel Corporation
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from tests.browser.selenium_helpers import SeleniumTestCase 11from tests.browser.selenium_helpers import SeleniumTestCase
12 12
13from orm.models import Layer, Layer_Version, Project, LayerSource, Release 13from orm.models import Layer, Layer_Version, Project, LayerSource, Release
diff --git a/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py b/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py
index 15d25dc3a9..7844aaa395 100644
--- a/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py
+++ b/bitbake/lib/toaster/tests/browser/test_most_recent_builds_states.py
@@ -7,7 +7,7 @@
7# Copyright (C) 2013-2016 Intel Corporation 7# Copyright (C) 2013-2016 Intel Corporation
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12from tests.browser.selenium_helpers import SeleniumTestCase 12from tests.browser.selenium_helpers import SeleniumTestCase
13from tests.browser.selenium_helpers_base import Wait 13from tests.browser.selenium_helpers_base import Wait
diff --git a/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py b/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
index 0aa3b7a774..9906ae42a9 100644
--- a/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from tests.browser.selenium_helpers import SeleniumTestCase 11from tests.browser.selenium_helpers import SeleniumTestCase
12 12
13from orm.models import BitbakeVersion, Release, Project, ProjectLayer, Layer 13from orm.models import BitbakeVersion, Release, Project, ProjectLayer, Layer
diff --git a/bitbake/lib/toaster/tests/browser/test_new_project_page.py b/bitbake/lib/toaster/tests/browser/test_new_project_page.py
index 8e56bb043e..e20a1f686e 100644
--- a/bitbake/lib/toaster/tests/browser/test_new_project_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_new_project_page.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from tests.browser.selenium_helpers import SeleniumTestCase 11from tests.browser.selenium_helpers import SeleniumTestCase
12from selenium.webdriver.support.ui import Select 12from selenium.webdriver.support.ui import Select
13from selenium.common.exceptions import InvalidElementStateException 13from selenium.common.exceptions import InvalidElementStateException
diff --git a/bitbake/lib/toaster/tests/browser/test_project_builds_page.py b/bitbake/lib/toaster/tests/browser/test_project_builds_page.py
index 47fb10b262..51717e72d4 100644
--- a/bitbake/lib/toaster/tests/browser/test_project_builds_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_project_builds_page.py
@@ -9,7 +9,7 @@
9 9
10import re 10import re
11 11
12from django.core.urlresolvers import reverse 12from django.urls import reverse
13from django.utils import timezone 13from django.utils import timezone
14from tests.browser.selenium_helpers import SeleniumTestCase 14from tests.browser.selenium_helpers import SeleniumTestCase
15 15
diff --git a/bitbake/lib/toaster/tests/browser/test_project_config_page.py b/bitbake/lib/toaster/tests/browser/test_project_config_page.py
index eaf27a1e78..944bcb2631 100644
--- a/bitbake/lib/toaster/tests/browser/test_project_config_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_project_config_page.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from tests.browser.selenium_helpers import SeleniumTestCase 11from tests.browser.selenium_helpers import SeleniumTestCase
12 12
13from orm.models import BitbakeVersion, Release, Project, ProjectVariable 13from orm.models import BitbakeVersion, Release, Project, ProjectVariable
@@ -213,4 +213,5 @@ class TestProjectConfigsPage(SeleniumTestCase):
213 213
214 hidden_element = self.driver.find_element_by_id('hintError-sstate_dir') 214 hidden_element = self.driver.find_element_by_id('hintError-sstate_dir')
215 self.assertEqual(hidden_element.is_displayed(), False, 215 self.assertEqual(hidden_element.is_displayed(), False,
216 'sstate directory path valid but treated as invalid') \ No newline at end of file 216 'sstate directory path valid but treated as invalid')
217
diff --git a/bitbake/lib/toaster/tests/browser/test_project_page.py b/bitbake/lib/toaster/tests/browser/test_project_page.py
index 8b5e1b6739..546293f1ee 100644
--- a/bitbake/lib/toaster/tests/browser/test_project_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_project_page.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12from tests.browser.selenium_helpers import SeleniumTestCase 12from tests.browser.selenium_helpers import SeleniumTestCase
13 13
diff --git a/bitbake/lib/toaster/tests/browser/test_sample.py b/bitbake/lib/toaster/tests/browser/test_sample.py
index f4ad670a36..b0067c21cd 100644
--- a/bitbake/lib/toaster/tests/browser/test_sample.py
+++ b/bitbake/lib/toaster/tests/browser/test_sample.py
@@ -16,7 +16,7 @@ New test files should follow this structure, should be named "test_*.py",
16and should be in the same directory as this sample. 16and should be in the same directory as this sample.
17""" 17"""
18 18
19from django.core.urlresolvers import reverse 19from django.urls import reverse
20from tests.browser.selenium_helpers import SeleniumTestCase 20from tests.browser.selenium_helpers import SeleniumTestCase
21 21
22class TestSample(SeleniumTestCase): 22class TestSample(SeleniumTestCase):
diff --git a/bitbake/lib/toaster/tests/browser/test_task_page.py b/bitbake/lib/toaster/tests/browser/test_task_page.py
index 26f3dca83c..011b5854ae 100644
--- a/bitbake/lib/toaster/tests/browser/test_task_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_task_page.py
@@ -7,7 +7,7 @@
7# SPDX-License-Identifier: GPL-2.0-only 7# SPDX-License-Identifier: GPL-2.0-only
8# 8#
9 9
10from django.core.urlresolvers import reverse 10from django.urls import reverse
11from django.utils import timezone 11from django.utils import timezone
12from tests.browser.selenium_helpers import SeleniumTestCase 12from tests.browser.selenium_helpers import SeleniumTestCase
13from orm.models import Project, Build, Layer, Layer_Version, Recipe, Target 13from orm.models import Project, Build, Layer, Layer_Version, Recipe, Target
diff --git a/bitbake/lib/toaster/tests/browser/test_toastertable_ui.py b/bitbake/lib/toaster/tests/browser/test_toastertable_ui.py
index ef78cbb1ee..e82d5ec654 100644
--- a/bitbake/lib/toaster/tests/browser/test_toastertable_ui.py
+++ b/bitbake/lib/toaster/tests/browser/test_toastertable_ui.py
@@ -9,7 +9,7 @@
9 9
10from datetime import datetime 10from datetime import datetime
11 11
12from django.core.urlresolvers import reverse 12from django.urls import reverse
13from django.utils import timezone 13from django.utils import timezone
14from tests.browser.selenium_helpers import SeleniumTestCase 14from tests.browser.selenium_helpers import SeleniumTestCase
15from orm.models import BitbakeVersion, Release, Project, Build 15from orm.models import BitbakeVersion, Release, Project, Build