'lcd() should apply to put()\'s local_path argument'

@server()
def test_lcd_should_apply_to_put(self):

    f = 'lcd_put_test.txt'
    d = 'subdir'
    local = self.path(d, f)
    os.makedirs(os.path.dirname(local))
    with open(local, 'w') as fd:
        fd.write('contents')
    with nested(lcd(self.path(d)), hide('everything')):
        put(f, '/')
    assert self.exists_remotely(('/%s' % f))
