| 287 |
| 288 |
| 289 |
| 290 |
| 291 |
| 292 |
| 293 |
| 294 |
| 295 |
| 296 |
| 297 |
| 298 | |
def test_commit_return_value(self): |
root = self.root |
testfile = root.join('test.txt').ensure(file=True) |
testfile.write('test') |
rev = root.commit('testing') |
assert type(rev) == int |
|
-> anotherfile = root.join('another.txt').ensure(file=True) |
anotherfile.write('test') |
rev2 = root.commit('testing more') |
assert type(rev2) == int |
assert rev2 == rev + 1 | |