pytest-dev/pytest-testinfra

winrm limitations

オープン

#330 opened on 2018/05/31

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (318 件のフォーク)batch import
help wantedwindows

Repository metrics

Stars
 (2,156 個のスター)
PR merge metrics
 (平均マージ 1d 15h) (30d で 1 merged PR)

説明

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?

コントリビューターガイド