summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0009_post_stop.py
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-11-03 20:44:37 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-06 10:11:44 +0100
commit4c1995d28fb09156e89e54e437ffedb16ca945b7 (patch)
tree84b6588cf1c65993d36b6d361f8529adbbedd28b /tests/units/test_0009_post_stop.py
parentebd31b97b0d68e911c35a5c0435ba64fb9d6c5c7 (diff)
rest: Add error check to delete commands
Every time a delete operation is performed it needs to be checked that a row has been deleted. If no rows are deleted, then ogserver reports an error. Previous to this change, it only checks that the connection to db was succesful. For example, previously, if a user deletes a client that did not exist, ogserver responds with no errors. After this change, it responds with an error. This error check has been implemented when deleting: - A client - An image - A center - A repo - A room - A server
Diffstat (limited to 'tests/units/test_0009_post_stop.py')
0 files changed, 0 insertions, 0 deletions