diff options
Diffstat (limited to 'ipatests/test_ipalib/test_cli.py')
-rw-r--r-- | ipatests/test_ipalib/test_cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipatests/test_ipalib/test_cli.py b/ipatests/test_ipalib/test_cli.py index 07935c5ba..4c9ae61c4 100644 --- a/ipatests/test_ipalib/test_cli.py +++ b/ipatests/test_ipalib/test_cli.py @@ -32,7 +32,8 @@ class test_textui(ClassChecker): """ Test the `ipalib.cli.textui.max_col_width` method. """ - o = self.cls() + api = 'the api instance' + o = self.cls(api) e = raises(TypeError, o.max_col_width, 'hello') assert str(e) == 'rows: need %r or %r; got %r' % (list, tuple, 'hello') rows = [ |