gurutracker.tests package

Submodules

gurutracker.tests.database module

class gurutracker.tests.database.TestMySQLController(methodName='runTest')[source]

Bases: TestCase

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.

test_add_assignment()[source]
test_add_assignment_id()[source]
test_add_subject()[source]
test_add_subject_id()[source]
test_add_tag()[source]
test_add_tag_id()[source]
test_add_tutor()[source]
test_add_tutor_with_id()[source]
test_add_unique_assignment()[source]
test_add_unique_tutor()[source]
test_del_assignment()[source]
test_del_subject()[source]
test_del_tags()[source]
test_del_tags_nested()[source]
test_del_tutor()[source]
test_edit_assignment()[source]
test_edit_subject()[source]
test_edit_tags()[source]
test_edit_tutor()[source]
test_edit_unique_tutor()[source]
test_get_assignment_uid()[source]
test_get_subject_by_uid()[source]
test_get_tutor_by_uid()[source]
test_list_assignment()[source]
test_list_tags()[source]
test_list_tags_nopop()[source]
test_list_tutor()[source]
class gurutracker.tests.database.TestObjects(methodName='runTest')[source]

Bases: TestCase

test_assignment_list_typecast()[source]
test_equalness_assignment()[source]
test_equalness_subject()[source]
test_equalness_tag()[source]
test_equalness_tutor()[source]
class gurutracker.tests.database.TestSqlite3Controller(methodName='runTest')[source]

Bases: TestCase

gurutracker.tests.database.suite()[source]

This defines all the tests of a module

gurutracker.tests.helpers module

class gurutracker.tests.helpers.TestFileOpenerHelper(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_file_name()[source]
gurutracker.tests.helpers.suite()[source]

This defines all the tests of a module

gurutracker.tests.storage module

class gurutracker.tests.storage.TestFilesystemDirectoryStorage(methodName='runTest')[source]

Bases: TestCase

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.

test_add_file()[source]
test_add_mtype()[source]
test_del_file()[source]
test_get_file()[source]
test_get_file_type()[source]
test_has_linked_file()[source]
gurutracker.tests.storage.suite()[source]

This defines all the tests of a module

Module contents