Commit fd63e4de authored by André Anjos's avatar André Anjos 💬

[experiments,reports] Don't import the old scheduling API

parent da711211
......@@ -34,19 +34,6 @@ from django.conf import settings
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
# Override the Scheduler API
from ..utils import scheduler
def mockPutMessage(url, params=None, data=None):
return (200, None)
def mockPostMessage(url, params=None, data=None):
return (200, None)
scheduler.putMessage = mockPutMessage
scheduler.postMessage = mockPostMessage
from .models import Experiment
from .models import CachedFile
from .models import Block
......
......@@ -57,19 +57,6 @@ import os
import shutil
# Override the Scheduler API
from ..utils import scheduler
def mockPutMessage(url, params=None, data=None):
return (200, None)
def mockPostMessage(url, params=None, data=None):
return (200, None)
scheduler.putMessage = mockPutMessage
scheduler.postMessage = mockPostMessage
#----------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment