コード例 #1
0
ファイル: cleanup_test.py プロジェクト: Manuelinux/kubeh
    def test_calls_remove_old_flags(self, db_session, patch):
        Feature = patch("h.tasks.cleanup.models.Feature")

        purge_removed_features()

        Feature.remove_old_flags.assert_called_once_with(db_session)
コード例 #2
0
ファイル: cleanup_test.py プロジェクト: hypothesis/h
    def test_calls_remove_old_flags(self, db_session, patch):
        Feature = patch("h.tasks.cleanup.models.Feature")

        purge_removed_features()

        Feature.remove_old_flags.assert_called_once_with(db_session)