@@ -71,6 +71,7 @@ def test_core_search(run_command, httpserver):
71
71
assert ["Updating" , "index:" , "package_index.json.sig" , "downloaded" ] in lines
72
72
assert ["Retrokits-RK002:arm" , "1.0.5" , "RK002" ] in lines
73
73
assert ["Retrokits-RK002:arm" , "1.0.6" , "RK002" ] in lines
74
+ header_index = lines .index (["ID" , "Version" , "Name" ])
74
75
# We use black to format and flake8 to lint .py files but they disagree on certain
75
76
# things like this one, thus we ignore this specific flake8 rule and stand by black
76
77
# opinion.
@@ -86,6 +87,7 @@ def test_core_search(run_command, httpserver):
86
87
assert ["Updating" , "index:" , "package_index.json.sig" , "downloaded" ] in lines
87
88
assert ["Retrokits-RK002:arm" , "1.0.5" , "RK002" ] in lines
88
89
assert ["Retrokits-RK002:arm" , "1.0.6" , "RK002" ] in lines
90
+ header_index = lines .index (["ID" , "Version" , "Name" ])
89
91
# We use black to format and flake8 to lint .py files but they disagree on certain
90
92
# things like this one, thus we ignore this specific flake8 rule and stand by black
91
93
# opinion.
@@ -100,6 +102,7 @@ def test_core_search(run_command, httpserver):
100
102
assert ["Updating" , "index:" , "package_index.json" , "downloaded" ] in lines
101
103
assert ["Updating" , "index:" , "package_index.json.sig" , "downloaded" ] in lines
102
104
assert ["Package:x86" , "1.2.3" , "Platform" ] in lines
105
+ header_index = lines .index (["ID" , "Version" , "Name" ])
103
106
# We use black to format and flake8 to lint .py files but they disagree on certain
104
107
# things like this one, thus we ignore this specific flake8 rule and stand by black
105
108
# opinion.
0 commit comments