Fix unit test error caused by cliff upgrade
This patch fixes the following issue of unit test that caused by upgraded version of cliff library to v4.4.0. ----- AttributeError: 'FakeStdout' object has no attribute 'isatty' ----- Change-Id: I77438314f8cf98e62155b1e43da3484cd5f1f514
This commit is contained in:
parent
e8460be8c5
commit
4978e7db51
|
@ -48,7 +48,7 @@ def capture_std_streams():
|
|||
sys.stdout, sys.stderr = stdout, stderr
|
||||
|
||||
|
||||
class FakeStdout(object):
|
||||
class FakeStdout(io.IOBase):
|
||||
|
||||
def __init__(self):
|
||||
self.content = []
|
||||
|
|
Loading…
Reference in New Issue