Project

General

Profile

0006-adaptation-test_hobo_notify-suite-d-placement-clean_.patch

Benjamin Dauvergne, 17 Dec 2018 01:37 PM

Download (1.24 KB)

View differences:

Subject: [PATCH 6/6] =?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(-)
tests/test_hobo_notify.py
720 720
    CmdHoboNotify.process_notification(notification)
721 721
    assert User.count() == 1
722 722
    assert len(User.select([st.Equal('deleted', True)])) == 1
723
    User.clean_deleted_users()
723
    pub.clean_deleted_users()
724 724
    assert User.count() == 0
725 725

  
726 726

  
......
770 770
    CmdHoboNotify.process_notification(notification)
771 771
    assert User.count() == 1
772 772
    assert len(User.select([st.Equal('deleted', True)])) == 1
773
    User.clean_deleted_users()
773
    pub.clean_deleted_users()
774 774
    assert User.count() == 1
775
-