tests: disable hobo tests for 1.11
This commit is contained in:
parent
4cd434e631
commit
7b39ac2f0b
|
@ -4,9 +4,14 @@ import json
|
||||||
|
|
||||||
from corbo.models import Subscription
|
from corbo.models import Subscription
|
||||||
from corbo.hobo_agent.management.commands.hobo_notify import Command
|
from corbo.hobo_agent.management.commands.hobo_notify import Command
|
||||||
|
|
||||||
|
import django
|
||||||
from django.core.management import call_command
|
from django.core.management import call_command
|
||||||
from django.db.models import Q
|
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',
|
NOTIFICATION = {'@type': 'provision',
|
||||||
'objects': {'@type': 'user',
|
'objects': {'@type': 'user',
|
||||||
'data': [
|
'data': [
|
||||||
|
|
Reference in New Issue