Python django.test.LiveServerTestCase() Examples
The following are 2 code examples for showing how to use django.test.LiveServerTestCase(). These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example.
You may check out the related API usage on the sidebar.
You may also want to check out all available functions/classes of the module
django.test
, or try the search function
.
Example 1
Project: openstax-cms Author: openstax File: tests.py License: GNU Affero General Public License v3.0 | 5 votes |
def setUp(self): super(WagtailPageTests, self).setUp() super(LiveServerTestCase, self).setUp()
Example 2
Project: openstax-cms Author: openstax File: tests.py License: GNU Affero General Public License v3.0 | 5 votes |
def tearDown(self): super(WagtailPageTests, self).tearDown() super(LiveServerTestCase, self).tearDown()