pytest-dev/pytest-testinfra

winrm limitations

Ouverte

#330 ouverte le 31 mai 2018

 (1 commentaire) (0 réaction) (0 personne assignée)Python (318 forks)batch import
help wantedwindows

Métriques du dépôt

Stars
 (2 156 étoiles)
Métriques de merge PR
 (Merge moyen 1j 15h) (1 PR mergée en 30 j)

Description

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?

Guide contributeur