Debugging travis

This commit is contained in:
Anton Beloglazov 2012-10-22 16:39:10 +11:00
parent 5bc484f75c
commit f60cdcf5b3

View File

@ -485,6 +485,7 @@ class Collector(TestCase):
context = mock('context')
f = mock('file')
when(context).__enter__().and_return(f)#.once()
when(context).__exit__()
when(collector).open('/proc/stat', 'r').and_return(context)#.once()
when(f).readline().and_return(
'1 ' + ' '.join([str(v) for v in x]) + ' 2 3')#.once()