From 0cf096e5b07d425579b51a080b6f839072194679 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Mon, 18 Apr 2016 14:31:42 -0400 Subject: [PATCH] Updated users.py test expectations to match our current behavior --- awx/main/tests/old/users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tests/old/users.py b/awx/main/tests/old/users.py index e6e5b1ddba..de364ff161 100644 --- a/awx/main/tests/old/users.py +++ b/awx/main/tests/old/users.py @@ -420,10 +420,10 @@ class UsersTest(BaseTest): self.assertEquals(data1['count'], 3) # Normal user can no longer see all users after the organization he # admins is marked inactive, nor can he see any other users that were - # in that org, so he only sees himself. + # in that org, so he only sees himself and the system admin. self.organizations[0].delete() data3 = self.get(url, expect=200, auth=self.get_normal_credentials()) - self.assertEquals(data3['count'], 1) + self.assertEquals(data3['count'], 2) # Test no longer relevant since we've moved away from active / inactive. # However there was talk about keeping is_active for users, so this test will