In [1]: from taurus.core.tango.tangovalidator import TangoDeviceNameValidator
In [2]: v = TangoDeviceNameValidator()
In [3]: v.getNames("a/b/c")
Out[3]: ('tango://pc255.cells.es:10000/a/b/c', 'a/b/c', 'a/b/c')
In [4]: v.getNames("//pc255:10000/a/b/c")
Out[4]: ('tango://pc255:10000/a/b/c', '//pc255:10000/a/b/c', 'a/b/c')
Note, I use /etc/tangorc with TANGO_HOST=pc255.cells.es:10000.
Not sure if this is a bug or not but I get:
Note, I use
/etc/tangorc
withTANGO_HOST=pc255.cells.es:10000
.