Clone
Behrouz NematiPour
committed
on 09 Apr
LDT-242 Main Treatment Screen - SW - Simulator Cleanup - 05: DEV - Feature Implementation
- Used the find_widget function instead of over… Show more
LDT-242   Main Treatment Screen - SW - Simulator Cleanup - 05: DEV - Feature Implementation

- Used the find_widget function instead of overloaded ones, and tested the type of the function return which is the type defined for the object.

- Now sending the widget type to the find_widget instead.

- Find_Widget overloads removed.

- tested the find_widget that will raise an exception in either case that each of the type or name of the parameter passed to the find_widget is incorrect, so it is safe to use the find_widget instead.

- Added the config.json to bypass the imports in dialin __init__.py moduels.

- to make sure dialin is till compatible with simulator the sparse-checkout need to be used with the following command:

git sparse-checkout set leahi_dialing/.gitignore leahi_dialin/ui leahi_dialin/common leahi_dialin/protocols leahi_dialin/utils

otherwise the following script in the simulator shall be used:

dialin-setup.sh

it has also been called in the scripts repo in the createWorkspace.sh script.

Show less

LDT-237-MainTreatmentScreen-SW-SimulatorCleanup + 3 more