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': [