models.main: Fix the tests for {stage,unstage,revert}_paths()
commit16bd4306a815c468b4071b6df0537599f0b8c3e4
authorDavid Aguilar <davvid@gmail.com>
Thu, 24 Sep 2009 01:22:02 +0000 (23 18:22 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 24 Sep 2009 01:22:02 +0000 (23 18:22 -0700)
tree52d8b972830af724901349e8d19ef6eb73ee9025
parent4781fde8e2955e5e5648c2635beac7a30198043b
models.main: Fix the tests for {stage,unstage,revert}_paths()

The old code would silently call update_status() so that its view
of the world was up-to-date before issuing git commands.

The tests check for this behavior, so reinstate the original
behavior from the classic model.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/models/main.py
test/test_cola_models_classic.py