def test_svn_diff(self): filename = self.project + '/appbeta/classes/controller/safe/admin.php' svn = subversion.Subversion(filename, 'r717849', 'r718083') diff = svn.diff() # Print Result for event, values in diff.iteritems(): print('{0} : {1}'.format(event, len(values)))
def test_svn_log(self): filename = self.project + '/appbeta/classes/controller/safe/admin.php' svn = subversion.Subversion(filename) svn.log() self.assertEqual('foo'.upper(), 'FOO')