@@ -142,7 +142,6 @@ def __init__(self):
142142 self .pull = {'system' : self .system ,
143143 'itype' : self .itype ,
144144 'tag' : self .tag ,
145- 'remotetype' : 'dockerv2' ,
146145 'userACL' : [], 'groupACL' : []}
147146 self .session = Session (uid = 100 , gid = 100 , system = self .system ,
148147 user = "user" , group = "user" )
@@ -652,7 +651,6 @@ def xtest_pull_testimage(ctx):
652651 'system' : ctx .system ,
653652 'itype' : ctx .itype ,
654653 'tag' : 'scanon/shanetest:latest' ,
655- 'remotetype' : 'dockerv2' ,
656654 'userACL' : [],
657655 'groupACL' : []
658656 }
@@ -797,7 +795,6 @@ def test_pulls_acl_change(ctx):
797795 'system' : record ['system' ],
798796 'itype' : record ['itype' ],
799797 'tag' : record ['pulltag' ],
800- 'remotetype' : 'dockerv2' ,
801798 'userACL' : [1001 , 1002 ],
802799 'groupACL' : [1003 , 1004 ]
803800 }
@@ -817,7 +814,6 @@ def test_pull_logic(ctx):
817814 'system' : record ['system' ],
818815 'itype' : record ['itype' ],
819816 'tag' : tag ,
820- 'remotetype' : 'dockerv2' ,
821817 }
822818 id = ctx .images .insert_one (record ).inserted_id
823819 assert id
@@ -874,7 +870,6 @@ def test_pull_public_acl(ctx):
874870 'system' : ctx .system ,
875871 'itype' : ctx .itype ,
876872 'tag' : ctx .tag ,
877- 'remotetype' : 'dockerv2' ,
878873 'userACL' : [1001 , 1002 ],
879874 'groupACL' : [1003 , 1004 ]
880875 }
@@ -913,7 +908,6 @@ def test_pull_public_acl_token(ctx):
913908 'system' : ctx .system ,
914909 'itype' : ctx .itype ,
915910 'tag' : ctx .public ,
916- 'remotetype' : 'dockerv2' ,
917911 'userACL' : [1001 , 1002 ],
918912 'groupACL' : [1003 , 1004 ]
919913 }
@@ -946,7 +940,6 @@ def test_pull_acl(ctx):
946940 'system' : ctx .system ,
947941 'itype' : ctx .itype ,
948942 'tag' : ctx .private ,
949- 'remotetype' : 'dockerv2' ,
950943 'userACL' : [1001 , 1002 ],
951944 'groupACL' : [1003 , 1004 ]
952945 }
@@ -1019,7 +1012,6 @@ def test_import(ctx):
10191012 'system' : ctx .system ,
10201013 'itype' : ctx .itype ,
10211014 'tag' : ctx .tag ,
1022- 'remotetype' : 'dockerv2' ,
10231015 'filepath' : '/images/test/test.squashfs' ,
10241016 'format' : 'squashfs' ,
10251017 'userACL' : [],
@@ -1270,7 +1262,6 @@ def test_pull_multiple_tags(ctx):
12701262 'system' : ctx .system ,
12711263 'itype' : ctx .itype ,
12721264 'tag' : ctx .public ,
1273- 'remotetype' : 'dockerv2'
12741265 }
12751266 # Do the pull
12761267 session = ctx .session
@@ -1292,7 +1283,6 @@ def test_pull_multiple_tags(ctx):
12921283 'system' : ctx .system ,
12931284 'itype' : ctx .itype ,
12941285 'tag' : newtag ,
1295- 'remotetype' : 'dockerv2'
12961286 }
12971287 rec = ctx .m .pull (session , pr ) # ,delay=False)
12981288 id = rec ['_id' ]
0 commit comments