def test_equipment_port_type_populated(self) -> None: self.assertEqual(len(self.client.portTypes), 1) self.client.portTypes = {} _populate_equipment_port_types(self.client) self.assertEqual(len(self.client.portTypes), 1)
def test_equipment_port_type_populated(self) -> None: self.assertEqual(len(PORT_TYPES), 1) PORT_TYPES.clear() _populate_equipment_port_types(client=self.client) self.assertEqual(len(PORT_TYPES), 1)