pytest-dev/pytest-testinfra

winrm limitations

開放

#330 建立於 2018年5月31日

 (1 則留言) (0 個反應) (0 位負責人)Python (318 個分叉)batch import
help wantedwindows

倉庫指標

星標
 (2,156 顆星)
PR 合併指標
 (平均合併 1天 15小時) (30 天內合併 1 個 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?

貢獻者指南