File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packit_service/service/api Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515
1616logger = getLogger ("packit_service" )
1717
18- ns = Namespace ("osh -scans" , description = "OpenScanHub scans" )
18+ ns = Namespace ("openscanhub -scans" , description = "OpenScanHub scans" )
1919
2020
2121@ns .route ("" )
@@ -37,7 +37,7 @@ def get(self):
3737 result ,
3838 status = HTTPStatus .PARTIAL_CONTENT ,
3939 )
40- resp .headers ["Content-Range" ] = f"osh -scans { first + 1 } -{ last } /*"
40+ resp .headers ["Content-Range" ] = f"openscanhub -scans { first + 1 } -{ last } /*"
4141 return resp
4242
4343
Original file line number Diff line number Diff line change @@ -967,7 +967,7 @@ def test_scan_info(
967967 a_scan ,
968968):
969969 response = client .get (
970- url_for ("api.osh -scans_scan_item" , id = a_scan .id ),
970+ url_for ("api.openscanhub -scans_scan_item" , id = a_scan .id ),
971971 )
972972 response_dict = response .json
973973 assert response_dict ["task_id" ] == SampleValues .task_id
@@ -987,7 +987,7 @@ def test_scans_list(
987987 clean_before_and_after ,
988988 a_scan ,
989989):
990- response = client .get (url_for ("api.osh -scans_scans_list" ))
990+ response = client .get (url_for ("api.openscanhub -scans_scans_list" ))
991991 response_dict = response .json
992992
993993 assert len (response_dict ) == 1
You can’t perform that action at this time.
0 commit comments