#1198 pylint fixes caused some unit test failures
Closed: Fixed None Opened 13 years ago by rcritten.

======================================================================
ERROR: tests.test_ipalib.test_text.test_LazyText.test_init
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/home/rcrit/redhat/freeipa-version/tests/test_ipalib/test_text.py", line 137, in test_init
    inst = self.klass('foo', 'bar')
  File "/home/rcrit/redhat/freeipa-version/ipalib/text.py", line 157, in __init__
    self.args = None
AttributeError: 'LazyText' object has no attribute 'args'

======================================================================
FAIL: Test the ``ipalib.frontend.Command.args`` instance attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/home/rcrit/redhat/freeipa-version/tests/test_ipalib/test_frontend.py", line 255, in test_args
    assert self.cls().args is None
AssertionError

======================================================================
FAIL: Test the ``ipalib.frontend.Command.options`` instance attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/home/rcrit/redhat/freeipa-version/tests/test_ipalib/test_frontend.py", line 304, in test_options
    assert self.cls().options is None
AssertionError

======================================================================
FAIL: Test the `ipalib.frontend.Object` class.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/home/rcrit/redhat/freeipa-version/tests/test_ipalib/test_frontend.py", line 772, in test_class
    assert self.cls.params is None
AssertionError

======================================================================
FAIL: Test the `ipalib.frontend.Object.__init__` method.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/home/rcrit/redhat/freeipa-version/tests/test_ipalib/test_frontend.py", line 784, in test_init
    assert o.params is None
AssertionError

Metadata Update from @rcritten:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 2.1 - 2011/08 (Final)

7 years ago

Login to comment on this ticket.

Metadata