-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
79 assert nodes 1 #102
base: main
Are you sure you want to change the base?
79 assert nodes 1 #102
Conversation
haakon98
commented
Nov 5, 2024
- Create a file node_checker.py for validation logic of assert nodes
- Implement logic in test_runner/views.py
* Add API for running test flows
* crud actions for category * refactor mapping from backend model to frontend type * Enhance device category management: add ID to DeviceCategory type, update input handling in forms, and implement Django filters for device queries. * move delete button * Remove unnecessary console logs from device category components and views * add patch device category * add fetching the number of devices associated with a category * style connection type and communication protocol tags on device category page * format code * style fix and format backend code * format backend code * style: align contents of device category card * very tiny style fix * revert file name change * refactor fetch devices based on category id * sort imports * remove comments and add communication protocols to create request * format code
* remove unnecessary status icon * lint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result = "Assert OK" | ||
else: | ||
result = "Assert failed" | ||
except Exception as e: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I think you can omit this try/catch block since the whole function is wrapped in one. We'd like those errors to be sent to the user in case they write invalid python code instead of just catching them and continuing