test_base

Module: tests.unittests.data_types.test_base

Unit test for BaseData type

This unit test creates TimeSeries objects and FeatureVector, tries to change and inherit meta information and runs separate tests for key, tag, specs and inheritance.

Author:Sirko Straube (sirko.straube@dfki.de), David Feess
Last Revision:2012/04/02

Inheritance diagram for pySPACE.tests.unittests.data_types.test_base:

Inheritance diagram of pySPACE.tests.unittests.data_types.test_base

BaseDataTestCase

class pySPACE.tests.unittests.data_types.test_base.BaseDataTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test BaseData data type

Class Components Summary

setUp() Create some example data
testInheritAndAddStuff() test inheritance of meta data from other objects
testKey() Test key behavior
testSpecs() Test specs behavior
testTag() Test tag behavior
setUp()[source]

Create some example data

testTag()[source]

Test tag behavior

testKey()[source]

Test key behavior

testInheritAndAddStuff()[source]

test inheritance of meta data from other objects

testSpecs()[source]

Test specs behavior