Revision 14c72dbd kamaki/clients/livetest/pithos.py

b/kamaki/clients/livetest/pithos.py
663 663
            self.assertNotEqual(sc1, sc2)
664 664

  
665 665
        """Upload an object to download"""
666
        container_info_cache = dict()
666 667
        trg_fname = 'remotefile_%s' % self.now
667 668
        f_size = 59247824
668 669
        src_f = self.create_large_file(f_size)
669 670
        print('\tUploading...')
670
        r = self.client.upload_object(trg_fname, src_f)
671
        r = self.client.upload_object(
672
            trg_fname, src_f,
673
            container_info_cache=container_info_cache)
671 674
        print('\tDownloading...')
672 675
        self.files.append(NamedTemporaryFile())
673 676
        dnl_f = self.files[-1]
......
683 686
        trg_fname = 'boringfile_%s' % self.now
684 687
        src_f = self.create_boring_file(42)
685 688
        print('\tUploading boring file...')
686
        self.client.upload_object(trg_fname, src_f)
689
        self.client.upload_object(
690
            trg_fname, src_f,
691
            container_info_cache=container_info_cache)
687 692
        print('\tDownloading boring file...')
688 693
        self.files.append(NamedTemporaryFile())
689 694
        dnl_f = self.files[-1]

Also available in: Unified diff