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:
Ayumu Ueha 2023-11-15 08:03:40 +00:00
parent e8460be8c5
commit 4978e7db51
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []