Class LiveServerTestCase

Do basically the same as TransactionTestCase but also launch a live HTTP

Declaration

class LiveServerTestCase(TransactionTestCase)
source link

Documentation

server in a separate thread so that the tests may use another testing
framework, such as Selenium for example, instead of the built-in dummy
client.
It inherits from TransactionTestCase instead of TestCase because the
threads don't share the same transactions (unless if using in-memory sqlite)
and each thread needs to commit all their transactions so that the other
thread can see the changes.

Methods

Class methods

Inherited methods

Subclasses

Reexports