commit | 435688832d84d32ec769493afc86f2f1e50569ca | [log] [tgz] |
---|---|---|
author | Esteban Barrero-Hernandez <estebanbarrero@google.com> | Mon Aug 26 23:50:27 2024 +0000 |
committer | Esteban Barrero-Hernandez <estebanbarrero@google.com> | Tue Aug 27 18:23:09 2024 +0000 |
tree | dec55df664e6fdb7b9c0c4f90d757aa8107b5e2f | |
parent | 73df920b1e0c4e8ae1237eb051c17ef6ab6f4fa3 [diff] |
Added more argument validation for the user-switch event. Added functionaility for further validation of the --event, --from-user, and --to-user arguments in torq.py. This is necessary to make sure invalid user-switch runs are not attempted. Furthermore, integrated these changes into tests/torq_unit_test.py by slightly modifying an existing unit test and adding 4 new unit tests. Test: atest torq_unit_test Bug: 356402331 Change-Id: I157ad2c6344e552cd7296527402898df075ba1ea