Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/d/u/duplicity-HEAD/testing/backendtest.py   duplicity(Download)
    def del_tmp(self):
        """Remove all files from test directory"""
        config.set_environ("FTP_PASSWORD", self.password)
        backend = duplicity.backend.get_backend(self.url_string)
        backend.delete(backend.list())
            print "No URL for test %s...skipping... " % self.my_test_id,
            return 0
        config.set_environ("FTP_PASSWORD", self.password)
        self.del_tmp()
        self.try_basic(duplicity.backend.get_backend(self.url_string))
            print "No URL for test %s...skipping... " % self.my_test_id,
            return 0
        config.set_environ("FTP_PASSWORD", self.password)
        self.try_fileobj_ops(duplicity.backend.get_backend(self.url_string))
 

src/d/u/duplicity-HEAD/testing/finaltest.py   duplicity(Download)
        restore_options = ["--encrypt-key " + config.encrypt_key1,
                           "--sign-key " + config.sign_key]
        config.set_environ("SIGN_PASSPHRASE", config.sign_passphrase)
        self.test_basic_cycle(backup_options = backup_options,
                              restore_options = restore_options)