:orphan: :py:mod:`oioioi.oireports.tests` ================================ .. py:module:: oioioi.oireports.tests Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.oireports.tests.TestReportViews .. py:class:: TestReportViews(methodName='runTest') Bases: :py:obj:`oioioi.base.tests.TestCase`, :py:obj:`oioioi.filetracker.tests.TestStreamingMixin` 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. .. py:attribute:: fixtures :annotation: = ['test_users', 'test_contest', 'test_full_package', 'test_problem_instance', 'test_submission',... .. py:method:: setUp() Hook method for setting up the test fixture before exercising it. .. py:method:: test_pdf_report_view() .. py:method:: test_xml_view() .. py:method:: test_single_report() .. py:method:: test_default_selected_round()