BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
microscope.testsuite.test_device_server.TestClashingArguments Class Reference
Inheritance diagram for microscope.testsuite.test_device_server.TestClashingArguments:
microscope.testsuite.test_device_server.BaseTestServeDevices

Public Member Functions

def test_port_conflict (self)
 
- Public Member Functions inherited from microscope.testsuite.test_device_server.BaseTestServeDevices
def setUp (self)
 
def tearDown (self)
 

Static Public Attributes

list DEVICES
 
- Static Public Attributes inherited from microscope.testsuite.test_device_server.BaseTestServeDevices
list DEVICES = []
 
int TIMEOUT = 5
 

Additional Inherited Members

- Public Attributes inherited from microscope.testsuite.test_device_server.BaseTestServeDevices
 p
 

Detailed Description

Device server and device constructor arguments do not clash

Definition at line 197 of file test_device_server.py.

Member Function Documentation

◆ test_port_conflict()

def microscope.testsuite.test_device_server.TestClashingArguments.test_port_conflict (   self)

Definition at line 206 of file test_device_server.py.

206 def test_port_conflict(self):
208 "PYRO:DeviceWithPort@127.0.0.1:8000"
209 )
210 self.assertEqual(client.port, 7000)
211
212

Member Data Documentation

◆ DEVICES

list microscope.testsuite.test_device_server.TestClashingArguments.DEVICES
static
Initial value:
= [
DeviceWithPort, "127.0.0.1", 8000, {"port": 7000}
),
]
def device(typing.Callable cls, str host, int port, typing.Mapping[str, typing.Any] conf={}, typing.Optional[str] uid=None)

Definition at line 200 of file test_device_server.py.


The documentation for this class was generated from the following file: