From 6da41d3f5c3b1bb5a6b214fa9b9e70b618782ced Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 17 Dec 2018 13:36:56 +0100 Subject: [PATCH 7/7] =?UTF-8?q?adaptation=20test=5Fhobo=5Fnotify=20suite?= =?UTF-8?q?=20d=C3=A9placement=20clean=5Fdeleted=5Fusers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_hobo_notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_hobo_notify.py b/tests/test_hobo_notify.py index 4d22ceea..5c86cd4c 100644 --- a/tests/test_hobo_notify.py +++ b/tests/test_hobo_notify.py @@ -720,7 +720,7 @@ def test_process_user_deprovision(pub): CmdHoboNotify.process_notification(notification) assert User.count() == 1 assert len(User.select([st.Equal('deleted', True)])) == 1 - User.clean_deleted_users() + pub.clean_deleted_users() assert User.count() == 0 @@ -770,5 +770,5 @@ def test_process_user_deprovision_with_data(pub): CmdHoboNotify.process_notification(notification) assert User.count() == 1 assert len(User.select([st.Equal('deleted', True)])) == 1 - User.clean_deleted_users() + pub.clean_deleted_users() assert User.count() == 1 -- 2.18.0