Typo fixes

This commit is contained in:
Joseph Schorr 2015-03-06 14:29:56 -05:00
parent d963bf7159
commit 8423b5874f

View file

@ -143,12 +143,12 @@ class TestBuildLogs(RedisBuildLogs):
if random.randint(0, 10) <= 8:
premessage = {
'message': '\x1b[91m' + get_sentence(),
{'data': 'datetime': str(datetime.datetime.now())}
'data': {'datetime': str(datetime.datetime.now())}
}
postmessage = {
'message': '\x1b[0m',
{'data': 'datetime': str(datetime.datetime.now())}
'data': {'datetime': str(datetime.datetime.now())}
}
count = count - 2
@ -157,7 +157,7 @@ class TestBuildLogs(RedisBuildLogs):
def get_message():
return {
'message': get_sentence(),
{'data': 'datetime': str(datetime.datetime.now())}
'data': {'datetime': str(datetime.datetime.now())}
}
return others + [(1, get_message(), None) for _ in range(count)]