Changeset 1262 in tailor


Ignore:
Timestamp:
08/24/06 18:05:43 (7 years ago)
Author:
Adeodato Simo <dato@…>
Hash name:
20060824160543-d6905-e19d32e12866003b5e3926d47325f066332de5da
Message:

Allow FixedBugs?.run_tailor to get a function as argument.

The function is intended to make various assertions against the just
created project, and it receives (project, vcs) as arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tests/fixed_bugs.py

    r1230 r1262  
    5858        self.SHARED_BASEDIRS = False 
    5959 
    60     def run_tailor(self): 
     60    def run_tailor(self, assert_function=None): 
    6161        test_name = self.test_name 
    6262 
     
    6868            project.workingDir().source.changesets = self.CHANGESETS 
    6969            project() 
     70 
     71            if assert_function is not None: 
     72                assert_function(project, vcs) 
    7073 
    7174    def testTicket64(self): 
Note: See TracChangeset for help on using the changeset viewer.