0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

test: motor_control_compilations.py and motor_control.py tests added

This commit is contained in:
wyzula-jan
2024-02-07 01:26:35 +01:00
parent fa4ca935bb
commit bf04a4e04a
3 changed files with 659 additions and 3 deletions

View File

@ -214,7 +214,7 @@ class MotorControlPanelRelative(QWidget):
self.layout().setSizeConstraint(layout.SetFixedSize)
if __name__ == "__main__":
if __name__ == "__main__": # pragma: no cover
import argparse
import sys
@ -253,7 +253,8 @@ if __name__ == "__main__":
window = MotorControlPanelRelative(client=client, config=CONFIG_DEFAULT)
else:
print("Please specify a valid variant to run. Use -h for help.")
sys.exit(1)
print("Running the full application by default.")
window = MotorControlApp(client=client, config=CONFIG_DEFAULT)
window.show()
sys.exit(app.exec())