Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit ce1ff41

Browse files
goldens
1 parent afb5787 commit ce1ff41

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tests/container/image_test.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ def test_build_with_tag(self):
495495
def test_with_passwd(self):
496496
with TestImage('with_passwd') as img:
497497
self.assertDigest(
498-
img, '803022993d158f7927176a1f490547775640c5b71aa3ce0bb8ace5706d3142f4')
498+
img, 'a4271d6ac44de44218e58d647567826b4d0d528dbbf2b0db6bb56ddbab4eb37d')
499499
self.assertEqual(1, len(img.fs_layers()))
500-
self.assertTopLayerContains(img, ['.', './etc', './etc/passwd'])
500+
self.assertTopLayerContains(img, ['./etc', './etc/passwd'])
501501

502502
buf = BytesIO(img.blob(img.fs_layers()[0]))
503503
with tarfile.open(fileobj=buf, mode='r') as layer:
@@ -532,9 +532,9 @@ def test_with_passwd_tar(self):
532532
def test_with_group(self):
533533
with TestImage('with_group') as img:
534534
self.assertDigest(
535-
img, 'a9ae91bd9dbd684f47b14a41c9a833b3191c49c5ccb950c20c81b08a8b3b4e18')
535+
img, '074a4dd5405c03cd1018fe83759929e5eeb8b6e333ecc03b9d0c91a899c47baa')
536536
self.assertEqual(1, len(img.fs_layers()))
537-
self.assertTopLayerContains(img, ['.', './etc', './etc/group'])
537+
self.assertTopLayerContains(img, ['./etc', './etc/group'])
538538

539539
buf = BytesIO(img.blob(img.fs_layers()[0]))
540540
with tarfile.open(fileobj=buf, mode='r') as layer:
@@ -622,7 +622,7 @@ def test_windows_image_manifest_with_foreign_layers(self):
622622
# Ensure the image manifest in the tarball includes the foreign layer.
623623
self.assertIn("https://go.microsoft.com/fwlink/?linkid=873595",
624624
img.manifest())
625-
625+
626626
def test_windows_image_manifest_with_foreign_layers_from_tar(self):
627627
imgPath = TestRunfilePath(
628628
"tests", "container", "basic_windows_image_from_tar.tar")
@@ -1125,5 +1125,4 @@ def load_stamp_info():
11251125

11261126
if __name__ == '__main__':
11271127
load_stamp_info()
1128-
unittest.main()
1129-
1128+
unittest.main()

0 commit comments

Comments
 (0)