BioImager  4.9.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
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

 test_port_conflict (self)
 
- Public Member Functions inherited from microscope.testsuite.test_device_server.BaseTestServeDevices
 setUp (self)
 
 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()

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}
),
]
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: