test: improve live test to skip gracefully when server unavailable

- Add server reachability check before attempting connection
- Test skips if Hashview server is not available on localhost:5000
- Prevents test failures when HASHVIEW_TEST_REAL env var is set but server isn't running
- Allows test to succeed when Docker/server is available and configured
This commit is contained in:
Justin Bollinger
2026-02-06 09:43:49 -05:00
parent 582988ea99
commit 3320553bad
+1
View File
@@ -45,6 +45,7 @@ exclude = [
"hashcat-utils",
"princeprocessor",
"wordlists",
"rules",
]
[tool.mypy]