~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

Merge rename of FileCollection.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
                           UnknownFormatError,
35
35
                           UnsupportedFormatError,
36
36
                           )
37
 
from bzrlib.file_collection import FileCollection
 
37
from bzrlib.file_names import FileNames
38
38
from bzrlib.repository import RepositoryFormat
39
39
from bzrlib.tests import TestCase, TestCaseWithTransport
40
40
from bzrlib.transport import get_transport
547
547
        self.assertHasNoKndx(t, 'signatures')
548
548
        self.assertHasKnit(t, 'signatures')
549
549
        # revision-indexes file-container directory
550
 
        collection = FileCollection(t.clone('indices'), 'index')
551
 
        collection.load()
552
 
        self.assertEqual(set(), collection.names())
 
550
        names = FileNames(t.clone('indices'), 'index')
 
551
        names.load()
 
552
        self.assertEqual(set(), names.names())
553
553
 
554
554
    def test_shared_disk_layout(self):
555
555
        format = self.get_format()