Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame^] | 1 | #! /usr/bin/env python3 |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 2 | # |
| 3 | # BitBake Toaster Implementation |
| 4 | # |
| 5 | # Copyright (C) 2013-2016 Intel Corporation |
| 6 | # |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0-only |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | # |
| 9 | # The Wait class and some of SeleniumDriverHelper and SeleniumTestCase are |
| 10 | # modified from Patchwork, released under the same licence terms as Toaster: |
| 11 | # https://github.com/dlespiau/patchwork/blob/master/patchwork/tests.browser.py |
| 12 | |
| 13 | """ |
| 14 | Helper methods for creating Toaster Selenium tests which run within |
| 15 | the context of Django unit tests. |
| 16 | """ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 17 | from django.contrib.staticfiles.testing import StaticLiveServerTestCase |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 18 | from tests.browser.selenium_helpers_base import SeleniumTestCaseBase |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 19 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 20 | class SeleniumTestCase(SeleniumTestCaseBase, StaticLiveServerTestCase): |
| 21 | pass |