inginious.frontend.tests package

Submodules

inginious.frontend.tests.SeleniumTest module

class inginious.frontend.tests.SeleniumTest.SeleniumTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

close_alert_and_get_its_text()[source]
is_alert_present()[source]
is_element_present(how, what)[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

wait_for_presence_css(selector)[source]

inginious.frontend.tests.TestLogin module

class inginious.frontend.tests.TestLogin.LoggedInTest(methodName='runTest')[source]

Bases: inginious.frontend.tests.SeleniumTest.SeleniumTest

login = 'test'
password = 'test'
setUp()[source]

Hook method for setting up the test fixture before exercising it.

class inginious.frontend.tests.TestLogin.RegisteredTest(methodName='runTest')[source]

Bases: inginious.frontend.tests.TestLogin.LoggedInTest

course = 'test'
setUp()[source]

Hook method for setting up the test fixture before exercising it.

class inginious.frontend.tests.TestLogin.TestLogin(methodName='runTest')[source]

Bases: inginious.frontend.tests.SeleniumTest.SeleniumTest

test_login()[source]
class inginious.frontend.tests.TestLogin.TestRegistration(methodName='runTest')[source]

Bases: inginious.frontend.tests.TestLogin.LoggedInTest

login = 'test3'
password = 'test'
test_register()[source]
test_unregister()[source]

inginious.frontend.tests.TestParsableText module

class inginious.frontend.tests.TestParsableText.TestHookManager[source]

Bases: object

test_code()[source]
test_failing_parser_injection()[source]
test_hidden_until_after()[source]
test_hidden_until_before()[source]
test_hidden_until_before_admin()[source]
test_html_tidy()[source]
test_parsable_text_once()[source]
test_str()[source]
test_unicode()[source]
test_wrong_rst_injection()[source]

inginious.frontend.tests.TestTaskDisplay module

class inginious.frontend.tests.TestTaskDisplay.TestDisplayAdmin(methodName='runTest')[source]

Bases: inginious.frontend.tests.TestTaskDisplay.TestDisplaySuperAdmin

login = 'test2'
password = 'test'
class inginious.frontend.tests.TestTaskDisplay.TestDisplaySuperAdmin(methodName='runTest')[source]

Bases: inginious.frontend.tests.TestLogin.LoggedInTest

login = 'test'
password = 'test'
test_register()[source]
class inginious.frontend.tests.TestTaskDisplay.TestDisplayUserAfterDeadline(methodName='runTest')[source]

Bases: inginious.frontend.tests.TestLogin.RegisteredTest

course = 'test'
login = 'test3'
password = 'test'
test_register()[source]

inginious.frontend.tests.TestTaskSubmission module

class inginious.frontend.tests.TestTaskSubmission.TestTaskSubmission(methodName='runTest')[source]

Bases: inginious.frontend.tests.TestLogin.LoggedInTest

login = 'test'
password = 'test'
test_submit()[source]