pytest-dev/pytest-testinfra

winrm limitations

Open

#330 geöffnet am 31. Mai 2018

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (318 Forks)batch import
help wantedwindows

Repository-Metriken

Stars
 (2.156 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 87T 19h) (6 gemergte PRs in 30 T)

Beschreibung

Not sure if this is a bug or something which has not yet been implemented yet. If the latter it should probably be documented.

I just tried to call a host.file(filename).exists against a windows machine and it failed when it tried to call uname which will obviously fail..

INFO:testinfra:RUN CommandResult(command=u'uname -s', exit_status=1, stdout=None, stderr="'uname' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n")

Which methods are supported when using the winrm backend?

Contributor Guide