← Back to team overview

duplicity-team team mailing list archive

Re: Failing tests

 

i don't like the fix. as we now have multiple ftp capable backends the proper check would be if 
 duplicity.backend.get_backend_object(url)
returns a proper backend.

by the looks of it the method already throws an exception in that case, so i'd argue the assertion needless.

..ede

On 13.11.2014 15:53, Kenneth Loafman wrote:
> 
> I just pushed a fix for the problem:
> 
> Traceback (most recent call last):
>   File "/home/ken/workspace/duplicity-src/testing/unit/test_backend_instance.py", line 237, in setUp
>     self.assertEqual(self.backend.__class__.__name__, 'FTPBackend')
> AssertionError: 'LFTPBackend' != 'FTPBackend'




Follow ups

References