Changeset 1636 in tailor


Ignore:
Timestamp:
06/11/08 00:13:31 (5 years ago)
Author:
lele@…
Hash name:
20080610221331-97f81-5efa70f65727627e4184b5582e36f75ffcd72703
Message:

Removed wrong tests for #64
The reason of the failure must be searched in the source backend, CVS
in this case: it should infer the added directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tests/fixed_bugs.py

    r1440 r1636  
    7575                assert_function(project, vcs) 
    7676 
    77     def testTicket64(self): 
    78         """#64: support add('foo/bar/baz') even if 'foo' was not previously added""" 
    79         self.target_vcs = [ 'bzr', 'darcs', 'hg' ] 
    80         self.source_changesets = [ 
    81             Changeset("Dummy first commit", 
    82                 [ Entry(Entry.ADDED, 'dummy.txt'), ]), 
    83             Changeset("Add a/b/c", 
    84                 [ Entry(Entry.ADDED, 'a/b/'), 
    85                   Entry(Entry.ADDED, 'a/b/c'), 
    86             ]), 
    87         ] 
    88         self.run_tailor() 
    89  
    90     def testTicket64_2(self): 
    91         """#64 (2): support update('foo2/bar') even if 'foo2' is added in the same changeset""" 
    92         self.target_vcs = [ 'bzr', 'darcs', 'hg' ] # XXX bzr 0.8 fails :-? 
    93         self.source_changesets = [ 
    94             Changeset("Dummy first commit", 
    95                 [ Entry(Entry.ADDED, 'dummy.txt'), ]), 
    96             Changeset("Add a/b/c", 
    97                 [ Entry(Entry.ADDED, 'a/b/c'), 
    98             ]), 
    99             Changeset("Add (cp) a2 and modify a2/b/c", 
    100                 [ Entry(Entry.ADDED, 'a2/b/c'), 
    101                   Entry(Entry.UPDATED, 'a2/b/c', contents='foo') 
    102             ]), 
    103         ] 
    104         self.run_tailor() 
    105  
    10677    def testTicket74(self): 
    10778        """Files must be physically removed on dir removal, so they don't get readded""" 
Note: See TracChangeset for help on using the changeset viewer.