Ejemplo n.º 1
0
def _verify_command_change_period(start, adjustment, expected):
    cmd = Command('test', start, Mock())
    eq_(start, cmd.period)
    cmd.change_period(adjustment)
    eq_(expected, cmd.period)