Update watch_test.py

Removed pod_manifest from watch_test.py.
This commit is contained in:
Raj Bhargav 2025-03-20 00:27:16 +05:30 committed by GitHub
parent f0a73c8824
commit 1268769cc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -505,20 +505,7 @@ class WatchTests(unittest.TestCase):
def test_pod_log_empty_lines(self):
pod_name = "demo-bug"
# Manifest with busybax to keep pod engaged for sometiem
pod_manifest = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {"name": pod_name},
"spec": {
"containers": [{
"image": "busybox",
"name": "my-container",
"command": ["sh", "-c", "while true; do echo Hello from Docker ; sleep 10; done"]
}]
},
}
try:
self.api.create_namespaced_pod = Mock()
self.api.read_namespaced_pod = Mock()