Skip to content

Commit 16124b9

Browse files
authored
Remove problematic test for other environments (opensearch-project#1738)
Signed-off-by: Tanner Lewis <[email protected]>
1 parent f246d61 commit 16124b9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/console_link/tests/test_container_utils.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,3 @@ def test_version_file_missing(fake_home, caplog):
4040
result = get_version_str()
4141
assert result == f"{VERSION_PREFIX} unknown"
4242
assert "VERSION file not found" in caplog.text
43-
44-
45-
def test_version_file_unreadable(fake_home, caplog):
46-
version_path = fake_home / "VERSION"
47-
version_path.write_text("1.2.3")
48-
version_path.chmod(0) # Remove all permissions
49-
50-
with caplog.at_level("INFO"):
51-
result = get_version_str()
52-
assert result == f"{VERSION_PREFIX} unknown"
53-
assert "Failed to read" in caplog.text

0 commit comments

Comments
 (0)