Set up the build logs to use our fake build logs on test and local.

This commit is contained in:
Jake Moshenko 2014-05-09 18:45:11 -04:00
parent 580bb152fe
commit bcb993a914
8 changed files with 47 additions and 11 deletions

View file

@ -5,7 +5,7 @@ from loremipsum import get_sentence
from functools import wraps
from copy import deepcopy
from data.buildlogs import BuildLogs
from data.buildlogs import RedisBuildLogs
logger = logging.getLogger(__name__)
@ -32,7 +32,7 @@ def maybe_advance_script(is_get_status=False):
return inner_advance
class TestBuildLogs(BuildLogs):
class TestBuildLogs(RedisBuildLogs):
COMMAND_TYPES = ['FROM', 'MAINTAINER', 'RUN', 'CMD', 'EXPOSE', 'ENV', 'ADD',
'ENTRYPOINT', 'VOLUME', 'USER', 'WORKDIR']
STATUS_TEMPLATE = {