tests/test_bookmark.py @ ed22ce1f3057
o Daemonized the hg incoming/outgoing calls to increase responsiveness;
o Added zero option to incoming and outgoing that will expand 0 counts.
author |
Chris <doktorstick@gmail.com> |
date |
Fri, 01 Jul 2016 17:52:18 -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 == ''