Exemplo n.º 1
0
 def test_createCamera(self):
     camera = camerainterface.createCamera(self.name)
     self.assertIsNotNone(camera)
Exemplo n.º 2
0
def createCamera(interface):
    """used for unittesting.

    This function will be replace with a mock. Get rid of camerainterfacedependency.
    """
    return camerainterface.createCamera(interface)
Exemplo n.º 3
0
 def test_createCamera(self):
     camera = camerainterface.createCamera(self.name)
     self.assertIsNotNone(camera)