From 7b39ac2f0b9cfdb0edf1048e2d4fd0521337d0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 3 Jan 2019 20:13:28 +0100 Subject: [PATCH] tests: disable hobo tests for 1.11 --- tests/test_hobo_notify.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_hobo_notify.py b/tests/test_hobo_notify.py index 6d4b2f3..39fee19 100644 --- a/tests/test_hobo_notify.py +++ b/tests/test_hobo_notify.py @@ -4,9 +4,14 @@ import json from corbo.models import Subscription from corbo.hobo_agent.management.commands.hobo_notify import Command + +import django from django.core.management import call_command from django.db.models import Q +if django.VERSION > (1, 8): + pytest.skip('hobo tests are limited to django 1.8', allow_module_level=True) + NOTIFICATION = {'@type': 'provision', 'objects': {'@type': 'user', 'data': [