diff options
| author | Frederick Muriuki Muriithi | 2026-04-07 13:52:19 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-04-07 13:54:02 -0500 |
| commit | b48b0eabaa3f8702366b779e6fba96c88acf9e34 (patch) | |
| tree | b932fe089406e6a8d59c25dcf2391aa5210312d8 /tests/unit/auth/test_groups.py | |
| parent | 135e861a8c09a93f4d094c8331529adadcefdba9 (diff) | |
| download | gn-auth-b48b0eabaa3f8702366b779e6fba96c88acf9e34.tar.gz | |
Update code to handle resource creators and creation times.
Diffstat (limited to 'tests/unit/auth/test_groups.py')
| -rw-r--r-- | tests/unit/auth/test_groups.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/auth/test_groups.py b/tests/unit/auth/test_groups.py index 346beb9..6f1e8cd 100644 --- a/tests/unit/auth/test_groups.py +++ b/tests/unit/auth/test_groups.py @@ -61,6 +61,8 @@ def __cleanup_create_group__(conn, user, group): (str(user.user_id), str(grp_rsc["resource_id"]))) cursor.execute("DELETE FROM group_resources WHERE group_id=?", (str(group.group_id),)) + cursor.execute("DELETE FROM resources WHERE resource_id=?", + (grp_rsc["resource_id"],)) cursor.execute("DELETE FROM groups WHERE group_id=?", (str(group.group_id),)) |
