tty => teletype, to avoid shadowing

```
************* Module salt.modules.test
W0621:312,8:tty: Redefining name 'tty' from outer scope (line 302)
```