oioioi.simpleui.tests
¶
Module Contents¶
Classes¶
Similar to TransactionTestCase, but use transaction.atomic() to achieve |
|
Similar to TransactionTestCase, but use transaction.atomic() to achieve |
|
Abstract base class with login utility for problem instance tests classes. |
|
Abstract base class with login utility for problem instance tests classes. |
|
Abstract base class with login utility for problem instance tests classes. |
Functions¶
|
- class oioioi.simpleui.tests.TestContestDashboard(methodName='runTest')[source]¶
Bases:
oioioi.base.tests.TestCase
Similar to TransactionTestCase, but use transaction.atomic() to achieve test isolation.
In most situations, TestCase should be preferred to TransactionTestCase as it allows faster execution. However, there are some situations where using TransactionTestCase might be necessary (e.g. testing some transactional behavior).
On database backends with no transaction support, TestCase behaves as TransactionTestCase.
- class oioioi.simpleui.tests.TestUserDashboard(methodName='runTest')[source]¶
Bases:
oioioi.base.tests.TestCase
Similar to TransactionTestCase, but use transaction.atomic() to achieve test isolation.
In most situations, TestCase should be preferred to TransactionTestCase as it allows faster execution. However, there are some situations where using TransactionTestCase might be necessary (e.g. testing some transactional behavior).
On database backends with no transaction support, TestCase behaves as TransactionTestCase.
- class oioioi.simpleui.tests.TestProblemInstance(methodName='runTest')[source]¶
Bases:
oioioi.base.tests.TestCase
Abstract base class with login utility for problem instance tests classes.
- class oioioi.simpleui.tests.TestProblemInstanceSettings(methodName='runTest')[source]¶
Bases:
TestProblemInstance
Abstract base class with login utility for problem instance tests classes.
- class oioioi.simpleui.tests.TestProblemInstanceValidation(methodName='runTest')[source]¶
Bases:
TestProblemInstance
Abstract base class with login utility for problem instance tests classes.