Cable - Unit tests

class spydrnet_physical.ir.tests.test_cable.TestCable(methodName='runTest')[source]

Bases: unittest.case.TestCase

Methods:

setUp()

Hook method for setting up the test fixture before exercising it.

test_connect_port()

Checks connection sequence to port

test_connect_instance_port()

Checks connection sequence to the instance port

test_is_port_cable()

Checks if the cable is connected to the Port-InnerConnection

test_assign_cable()

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

test_connect_port()[source]

Checks connection sequence to port

test_connect_instance_port()[source]

Checks connection sequence to the instance port

test_is_port_cable()[source]

Checks if the cable is connected to the Port-InnerConnection

test_assign_cable()[source]