#NEWLINE# def test_getters( self ) : #NEWLINE# #INDENT# c = compute . ComputeResource ( 'foo' , summary = 'This is a summary' , id = uuid . uuid4 ( ) . hex ) #NEWLINE# s = storage . StorageResource ( 'bar' , summary = 'This is a summary' , id = uuid . uuid4 ( ) . hex ) #NEWLINE# l = storage_link . StorageLink ( c , s , deviceid = '/dev/vdc' , mountpoint = '/mnt' , state = 'foobar' ) #NEWLINE# self . assertEqual ( '/dev/vdc' , l . deviceid ) #NEWLINE# self . assertEqual ( '/mnt' , l . mountpoint ) #NEWLINE# self . assertEqual ( 'foobar' , l . state )