@@ -495,9 +495,9 @@ def test_build_with_tag(self):
495
495
def test_with_passwd (self ):
496
496
with TestImage ('with_passwd' ) as img :
497
497
self .assertDigest (
498
- img , '803022993d158f7927176a1f490547775640c5b71aa3ce0bb8ace5706d3142f4 ' )
498
+ img , 'a4271d6ac44de44218e58d647567826b4d0d528dbbf2b0db6bb56ddbab4eb37d ' )
499
499
self .assertEqual (1 , len (img .fs_layers ()))
500
- self .assertTopLayerContains (img , ['.' , '. /etc' , './etc/passwd' ])
500
+ self .assertTopLayerContains (img , ['./etc' , './etc/passwd' ])
501
501
502
502
buf = BytesIO (img .blob (img .fs_layers ()[0 ]))
503
503
with tarfile .open (fileobj = buf , mode = 'r' ) as layer :
@@ -532,9 +532,9 @@ def test_with_passwd_tar(self):
532
532
def test_with_group (self ):
533
533
with TestImage ('with_group' ) as img :
534
534
self .assertDigest (
535
- img , 'a9ae91bd9dbd684f47b14a41c9a833b3191c49c5ccb950c20c81b08a8b3b4e18 ' )
535
+ img , '074a4dd5405c03cd1018fe83759929e5eeb8b6e333ecc03b9d0c91a899c47baa ' )
536
536
self .assertEqual (1 , len (img .fs_layers ()))
537
- self .assertTopLayerContains (img , ['.' , '. /etc' , './etc/group' ])
537
+ self .assertTopLayerContains (img , ['./etc' , './etc/group' ])
538
538
539
539
buf = BytesIO (img .blob (img .fs_layers ()[0 ]))
540
540
with tarfile .open (fileobj = buf , mode = 'r' ) as layer :
@@ -622,7 +622,7 @@ def test_windows_image_manifest_with_foreign_layers(self):
622
622
# Ensure the image manifest in the tarball includes the foreign layer.
623
623
self .assertIn ("https://go.microsoft.com/fwlink/?linkid=873595" ,
624
624
img .manifest ())
625
-
625
+
626
626
def test_windows_image_manifest_with_foreign_layers_from_tar (self ):
627
627
imgPath = TestRunfilePath (
628
628
"tests" , "container" , "basic_windows_image_from_tar.tar" )
@@ -1125,5 +1125,4 @@ def load_stamp_info():
1125
1125
1126
1126
if __name__ == '__main__' :
1127
1127
load_stamp_info ()
1128
- unittest .main ()
1129
-
1128
+ unittest .main ()
0 commit comments