compshs.data.tests package

Submodules

compshs.data.tests.test_base module

class compshs.data.tests.test_base.TestDataset(methodName='runTest')[source]

Bases: TestCase

test_get_attr()[source]
test_init()[source]
test_set_attr()[source]

compshs.data.tests.test_parse module

class compshs.data.tests.test_parse.TestFromDirectory(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_from_directory_empty()[source]
test_from_directory_with_names()[source]
test_from_directory_without_names()[source]
class compshs.data.tests.test_parse.TestFromSQL(methodName='runTest')[source]

Bases: TestCase

connection = None
cursor = None
classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

classmethod tearDownClass()[source]

Hook method for deconstructing the class fixture after running all tests in the class.

test_01_from_sql_valid()[source]
test_02_from_sql_default_dataset_name()[source]
test_03_from_sql_empty_table()[source]
test_db_path = None

Module contents

tests module