'put() should honor env.cwd for relative remote paths'

@server()
def test_cd_should_apply_to_put(self):

    f = 'test.txt'
    d = '/empty_folder'
    local = self.path(f)
    with open(local, 'w') as fd:
        fd.write('test')
    with nested(cd(d), hide('everything')):
        put(local, f)
    assert self.exists_remotely(('%s/%s' % (d, f)))
