fix(skills): make PNG weather example Windows-safe
This commit is contained in:
1 parent
b14ac4c401
commit
72d3ce6b23
2 files changed
+4
-1
No files matched your search
@@ -8,6 +8,8 @@ def test_weather_skill_uses_windows_safe_single_today_request() -> None:
|
||||
assert "On Windows PowerShell, use `curl.exe`" in normalized
|
||||
assert "bare `curl` may resolve to `Invoke-WebRequest`" in normalized
|
||||
assert "https://wttr.in/London?1&m" in content
|
||||
assert 'curl.exe -s "https://wttr.in/Berlin.png" -o weather.png' in content
|
||||
assert "/tmp/weather.png" not in content
|
||||
assert (
|
||||
"Do not fetch current conditions separately when a today or forecast "
|
||||
"request already includes them."
|
||||
|
||||
Reference in new issue
Block a user