Skip to content

Failed

OmeroPy.test.integration.gatewaytest.test_image.TestImage.testChannelWavelengthUnits (from pytest)

Failing for the past 6 builds (Since #294 )
Took 0.17 sec.

Error Message

assert None == 360.0
 +  where None = getExcitationWave()
 +    where getExcitationWave = <_ChannelWrapper id=2595>.getExcitationWave

Stacktrace

self = <test.integration.gatewaytest.test_image.TestImage object at 0x7f04b554e5b0>
author_testimg_generated = <_ImageWrapper id=5793>

    def testChannelWavelengthUnits(self, author_testimg_generated):
        """
        Tests Channel excitation / emmisssion wavelengths and units
        """
        wavelengths = [[360.0, 457.0], [490.0, 528.0]]
        for ch, waves in zip(self.image.getChannels(), wavelengths):
>           assert ch.getExcitationWave() == waves[0]
E           assert None == 360.0
E            +  where None = getExcitationWave()
E            +    where getExcitationWave = <_ChannelWrapper id=2595>.getExcitationWave

test/integration/gatewaytest/test_image.py:259: AssertionError