test_sardanavalue

Unit tests for sardanavalue module

Classes

SardanaValueTestCase

Inheritance diagram of SardanaValueTestCase

class SardanaValueTestCase(methodName='runTest')[source]

Instantiating in different ways a Sardana Value and perform some verifications.

testInstanceCreation()

Instantiate in different ways a SardanaValue object.

testSardanaValueWithExceptionInfo()

Verify the creation of SardanaValue when exc_info != None. Verify that ‘Error’ is contained in the returned string.

testSardanaValueWithNoExceptionInfo()

Verify the creation of SardanaValue when exc_info is not specified and we give a value as argument of the SardanaValue constructor. SardanaValue representation shall contain its value.