Skip to content

Commit

Permalink
Cleanup tests (#388)
Browse files Browse the repository at this point in the history
Removes test files that were empty and moved away from unittest to
pytest for the transport tests. In this move the tests also utilise
monkeypatch to set/clear env vars during testing to ensure outside
environmental details do not affect the test run. The tests were also
updated to capture the expected deprecation warnings that the tests were
running explicitly.
  • Loading branch information
jborean93 authored Aug 9, 2024
1 parent 7ed4a2e commit cbc1e34
Show file tree
Hide file tree
Showing 8 changed files with 269 additions and 269 deletions.
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,3 @@ ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "requests_credssp"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "requests_ntlm"
ignore_missing_imports = true
Empty file removed winrm/tests/sample_script.ps1
Empty file.
Empty file removed winrm/tests/test_cmd.py
Empty file.
8 changes: 0 additions & 8 deletions winrm/tests/test_integration_session.py

This file was deleted.

Empty file.
Empty file removed winrm/tests/test_powershell.py
Empty file.
Loading

0 comments on commit cbc1e34

Please sign in to comment.