Debugging travis
This commit is contained in:
parent
5bc484f75c
commit
f60cdcf5b3
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user