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:
		@@ -48,7 +48,7 @@ def capture_std_streams():
 | 
				
			|||||||
        sys.stdout, sys.stderr = stdout, stderr
 | 
					        sys.stdout, sys.stderr = stdout, stderr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class FakeStdout(object):
 | 
					class FakeStdout(io.IOBase):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __init__(self):
 | 
					    def __init__(self):
 | 
				
			||||||
        self.content = []
 | 
					        self.content = []
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user