'put() should send a file with a glob pattern in the path, when globbing disabled.'

@server()
def test_put_sends_correct_file_with_globbing_off(self):

    text = 'globbed!'
    local = self.mkfile('foo[bar].txt', text)
    local2 = self.path('foo2.txt')
    with hide('everything'):
        put(local, '/', use_glob=False)
        get('/foo[bar].txt', local2)
    eq_contents(local2, text)
