'The I{exec} command runs its arguments locally in a child process
using the user\'s shell.'

def test_exec(self):

    self.database.addUser(getpass.getuser(), 'secret', os.getuid(), 1234, 'foo', 'bar', sys.executable)
    d = self.client._dispatchCommand('exec    print(1    +    2)')
    d.addCallback(self.assertEqual, '3\n')
    return d
