Skip to content

Commit 1268769

Browse files
authored
Update watch_test.py
Removed pod_manifest from watch_test.py.
1 parent f0a73c8 commit 1268769

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

Diff for: kubernetes/base/watch/watch_test.py

+1-14
Original file line numberDiff line numberDiff line change
@@ -505,20 +505,7 @@ def setUpClass(cls):
505505

506506
def test_pod_log_empty_lines(self):
507507
pod_name = "demo-bug"
508-
# Manifest with busybax to keep pod engaged for sometiem
509-
pod_manifest = {
510-
"apiVersion": "v1",
511-
"kind": "Pod",
512-
"metadata": {"name": pod_name},
513-
"spec": {
514-
"containers": [{
515-
"image": "busybox",
516-
"name": "my-container",
517-
"command": ["sh", "-c", "while true; do echo Hello from Docker ; sleep 10; done"]
518-
}]
519-
},
520-
}
521-
508+
522509
try:
523510
self.api.create_namespaced_pod = Mock()
524511
self.api.read_namespaced_pod = Mock()

0 commit comments

Comments
 (0)