~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_add.py

[patch] Rename TestCase.AssertSubset to assertSubset for consistency (Jan Hudec)

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        self.build_tree(['inertiatic/', 'inertiatic/esp', 'inertiatic/CVS', 
107
107
                        'inertiatic/foo.pyc'])
108
108
        added, ignored = smart_add_tree(wt, u'.')
109
 
        self.AssertSubset(('inertiatic', 'inertiatic/esp'), added)
110
 
        self.AssertSubset(('CVS', '*.py[oc]'), ignored)
111
 
        self.AssertSubset(('inertiatic/CVS',), ignored['CVS'])
112
 
        self.AssertSubset(('inertiatic/foo.pyc',), ignored['*.py[oc]'])
 
109
        self.assertSubset(('inertiatic', 'inertiatic/esp'), added)
 
110
        self.assertSubset(('CVS', '*.py[oc]'), ignored)
 
111
        self.assertSubset(('inertiatic/CVS',), ignored['CVS'])
 
112
        self.assertSubset(('inertiatic/foo.pyc',), ignored['*.py[oc]'])
113
113
 
114
114
 
115
115
class TestSmartAddBranch(TestCaseWithTransport):