======================================================================
ERROR: test_add_remove_source_by_line (__main__.TestDBus)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_dbus.py", line 248, in test_add_remove_source_by_line
self.iface.RemoveSource(s.replace("deb", "deb-src"))
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "../softwareproperties/dbus/SoftwarePropertiesDBus.py", line 278, in RemoveSource
self.remove_source(_to_unicode(source))
File "../softwareproperties/SoftwareProperties.py", line 741, in remove_source
if source.file != apt_pkg.config.find_file("Dir::Etc::sourcelist"):
AttributeError: 'NoneType' object has no attribute 'file'
======================================================================
FAIL: test_enable_enable_disable_source_code_sources (__main__.TestDBus)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_dbus.py", line 127, in test_enable_enable_disable_source_code_sources
self.assertFalse("deb-src" in sourceslist)
AssertionError: True is not false
So I think before this is merged you have to decide how to handle this. Marking this Needs Fixing for now.
1 failure, 1 error:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= remove_ source_ by_line (__main__.TestDBus) ------- ------- ------- ------- ------- ------- ------- ------- ------- remove_ source_ by_line iface.RemoveSou rce(s.replace( "deb", "deb-src")) python2. 7/dist- packages/ dbus/proxies. py", line 145, in __call__ python2. 7/dist- packages/ dbus/connection .py", line 651, in call_blocking .DBus.Python. AttributeError: Traceback (most recent call last): python2. 7/dist- packages/ dbus/service. py", line 707, in _message_cb method( self, *args, **keywords) perties/ dbus/SoftwarePr opertiesDBus. py", line 278, in RemoveSource remove_ source( _to_unicode( source) ) perties/ SoftwarePropert ies.py" , line 741, in remove_source config. find_file( "Dir::Etc: :sourcelist" ):
ERROR: test_add_
-------
Traceback (most recent call last):
File "test_dbus.py", line 248, in test_add_
self.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
DBusException: org.freedesktop
File "/usr/lib/
retval = candidate_
File "../softwarepro
self.
File "../softwarepro
if source.file != apt_pkg.
AttributeError: 'NoneType' object has no attribute 'file'
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= enable_ disable_ source_ code_sources (__main__.TestDBus) ------- ------- ------- ------- ------- ------- ------- ------- ------- enable_ disable_ source_ code_sources assertFalse( "deb-src" in sourceslist)
FAIL: test_enable_
-------
Traceback (most recent call last):
File "test_dbus.py", line 127, in test_enable_
self.
AssertionError: True is not false
So I think before this is merged you have to decide how to handle this. Marking this Needs Fixing for now.