@@ -188,11 +188,7 @@ var _ = Describe("Podman inspect", func() {
188188
189189 ctrInspect := podmanTest .Podman ([]string {"container" , "inspect" , ALPINE })
190190 ctrInspect .WaitWithDefaultTimeout ()
191- if IsRemote () {
192- Expect (ctrInspect ).To (ExitWithError (125 , fmt .Sprintf ("no such container %q" , ALPINE )))
193- } else {
194- Expect (ctrInspect ).To (ExitWithError (125 , fmt .Sprintf ("no such container %s" , ALPINE )))
195- }
191+ Expect (ctrInspect ).To (ExitWithError (125 , fmt .Sprintf ("no such container %q" , ALPINE )))
196192
197193 imageInspect := podmanTest .Podman ([]string {"image" , "inspect" , ALPINE })
198194 imageInspect .WaitWithDefaultTimeout ()
@@ -399,11 +395,7 @@ var _ = Describe("Podman inspect", func() {
399395
400396 inspect := podmanTest .Podman ([]string {"inspect" , "--type" , "container" , podName })
401397 inspect .WaitWithDefaultTimeout ()
402- if IsRemote () {
403- Expect (inspect ).To (ExitWithError (125 , fmt .Sprintf ("no such container %q" , podName )))
404- } else {
405- Expect (inspect ).To (ExitWithError (125 , fmt .Sprintf ("no such container %s" , podName )))
406- }
398+ Expect (inspect ).To (ExitWithError (125 , fmt .Sprintf ("no such container %q" , podName )))
407399 })
408400
409401 It ("podman inspect --type network on a container should fail" , func () {
0 commit comments