CHAP.test.common.reader_t

File : common/reader_t.py Author : Valentin Kuznetsov Description: Unit tests for common/reader.py code

Module Contents

Classes

BinaryFileReaderTest

Unit test for CHAP.common.BinaryFileReader class

NexusReaderTest

Unit test for CHAP.common.BinaryFileReader class

URLReaderTest

Unit test for CHAP.common.URLReader class

YAMLReaderTest

Unit test for CHAP.common.YAMLReader class

API

class CHAP.test.common.reader_t.BinaryFileReaderTest(methodName='runTest')

Bases: unittest.TestCase

Unit test for CHAP.common.BinaryFileReader class

Initialization

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()
testReader()

Unit test to test reader

class CHAP.test.common.reader_t.NexusReaderTest(methodName='runTest')

Bases: unittest.TestCase

Unit test for CHAP.common.BinaryFileReader class

Initialization

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()
testReader()

Unit test to test reader

testNXpath()

Unit test to test the nxpath keyword argument of NexusReader.read

class CHAP.test.common.reader_t.URLReaderTest(methodName='runTest')

Bases: unittest.TestCase

Unit test for CHAP.common.URLReader class

Initialization

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()
testReader()

Unit test to test reader

class CHAP.test.common.reader_t.YAMLReaderTest(methodName='runTest')

Bases: unittest.TestCase

Unit test for CHAP.common.YAMLReader class

Initialization

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()
testReader()

Unit test to test reader