tests/test_bookmark.py @ 996d64681e55
I fixed my deployed `hg-prompt` thinking I had done it in the version I pushed to bitbucket. I only noticed it because I had to reinstall. :/
| author | Chris <doktorstick@gmail.com> |
|---|---|
| date | Tue, 13 Sep 2016 16:09:05 -0500 |
| parents | 869146b8b9fb |
| children | (none) |
'''Test output of {bookmark}.''' from nose import * from util import * @with_setup(setup_sandbox, teardown_sandbox) def test_bookmark(): hg_bookmark('test') output = prompt(fs='{bookmark}') assert output == 'test' @with_setup(setup_sandbox, teardown_sandbox) def test_no_bookmark(): hg_bookmark('test') hg_deactivate_bookmark() output = prompt(fs='{bookmark}') assert output == ''