xref: /OK3568_Linux_fs/yocto/bitbake/lib/toaster/tests/browser/selenium_helpers.py (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#! /usr/bin/env python3
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# BitBake Toaster Implementation
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun# Copyright (C) 2013-2016 Intel Corporation
6*4882a593Smuzhiyun#
7*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
8*4882a593Smuzhiyun#
9*4882a593Smuzhiyun# The Wait class and some of SeleniumDriverHelper and SeleniumTestCase are
10*4882a593Smuzhiyun# modified from Patchwork, released under the same licence terms as Toaster:
11*4882a593Smuzhiyun# https://github.com/dlespiau/patchwork/blob/master/patchwork/tests.browser.py
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun"""
14*4882a593SmuzhiyunHelper methods for creating Toaster Selenium tests which run within
15*4882a593Smuzhiyunthe context of Django unit tests.
16*4882a593Smuzhiyun"""
17*4882a593Smuzhiyunfrom django.contrib.staticfiles.testing import StaticLiveServerTestCase
18*4882a593Smuzhiyunfrom tests.browser.selenium_helpers_base import SeleniumTestCaseBase
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunclass SeleniumTestCase(SeleniumTestCaseBase, StaticLiveServerTestCase):
21*4882a593Smuzhiyun    pass
22