|
24 | 24 |
|
25 | 25 | @mock_aws |
26 | 26 | @mock_repository |
27 | | -def test_beefy_search_document_reference_happy_path( |
| 27 | +def test_search_document_reference_happy_path( |
28 | 28 | repository: DocumentPointerRepository, |
29 | 29 | ): |
30 | 30 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -65,7 +65,7 @@ def test_beefy_search_document_reference_happy_path( |
65 | 65 |
|
66 | 66 | @mock_aws |
67 | 67 | @mock_repository |
68 | | -def test_beefy_search_document_reference_accession_number_in_pointer( |
| 68 | +def test_search_document_reference_accession_number_in_pointer( |
69 | 69 | repository: DocumentPointerRepository, |
70 | 70 | ): |
71 | 71 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -117,7 +117,7 @@ def test_beefy_search_document_reference_accession_number_in_pointer( |
117 | 117 |
|
118 | 118 | @mock_aws |
119 | 119 | @mock_repository |
120 | | -def test_beefy_search_document_reference_happy_path_with_custodian( |
| 120 | +def test_search_document_reference_happy_path_with_custodian( |
121 | 121 | repository: DocumentPointerRepository, |
122 | 122 | ): |
123 | 123 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -158,7 +158,7 @@ def test_beefy_search_document_reference_happy_path_with_custodian( |
158 | 158 |
|
159 | 159 | @mock_aws |
160 | 160 | @mock_repository |
161 | | -def test_beefy_search_document_reference_happy_path_with_type( |
| 161 | +def test_search_document_reference_happy_path_with_type( |
162 | 162 | repository: DocumentPointerRepository, |
163 | 163 | ): |
164 | 164 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -199,7 +199,7 @@ def test_beefy_search_document_reference_happy_path_with_type( |
199 | 199 |
|
200 | 200 | @mock_aws |
201 | 201 | @mock_repository |
202 | | -def test_beefy_search_document_reference_happy_path_with_category( |
| 202 | +def test_search_document_reference_happy_path_with_category( |
203 | 203 | repository: DocumentPointerRepository, |
204 | 204 | ): |
205 | 205 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -252,7 +252,7 @@ def test_beefy_search_document_reference_happy_path_with_category( |
252 | 252 |
|
253 | 253 | @mock_aws |
254 | 254 | @mock_repository |
255 | | -def test_beefy_search_document_reference_happy_path_with_category_and_type( |
| 255 | +def test_search_document_reference_happy_path_with_category_and_type( |
256 | 256 | repository: DocumentPointerRepository, |
257 | 257 | ): |
258 | 258 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -306,7 +306,7 @@ def test_beefy_search_document_reference_happy_path_with_category_and_type( |
306 | 306 |
|
307 | 307 | @mock_aws |
308 | 308 | @mock_repository |
309 | | -def test_beefy_search_document_reference_happy_path_with_category_and_type_no_results( |
| 309 | +def test_search_document_reference_happy_path_with_category_and_type_no_results( |
310 | 310 | repository: DocumentPointerRepository, |
311 | 311 | ): |
312 | 312 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -360,7 +360,7 @@ def test_beefy_search_document_reference_happy_path_with_category_and_type_no_re |
360 | 360 |
|
361 | 361 | @mock_aws |
362 | 362 | @mock_repository |
363 | | -def test_beefy_search_document_reference_happy_path_with_multiple_categories_and_type( |
| 363 | +def test_search_document_reference_happy_path_with_multiple_categories_and_type( |
364 | 364 | repository: DocumentPointerRepository, |
365 | 365 | ): |
366 | 366 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -414,7 +414,7 @@ def test_beefy_search_document_reference_happy_path_with_multiple_categories_and |
414 | 414 |
|
415 | 415 | @mock_aws |
416 | 416 | @mock_repository |
417 | | -def test_beefy_search_document_reference_happy_path_with_multiple_categories( |
| 417 | +def test_search_document_reference_happy_path_with_multiple_categories( |
418 | 418 | repository: DocumentPointerRepository, |
419 | 419 | ): |
420 | 420 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -471,7 +471,7 @@ def test_beefy_search_document_reference_happy_path_with_multiple_categories( |
471 | 471 |
|
472 | 472 | @mock_aws |
473 | 473 | @mock_repository |
474 | | -def test_beefy_search_document_reference_happy_path_with_nicip_type( |
| 474 | +def test_search_document_reference_happy_path_with_nicip_type( |
475 | 475 | repository: DocumentPointerRepository, |
476 | 476 | ): |
477 | 477 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -518,7 +518,7 @@ def test_beefy_search_document_reference_happy_path_with_nicip_type( |
518 | 518 |
|
519 | 519 | @mock_aws |
520 | 520 | @mock_repository |
521 | | -def test_beefy_search_document_reference_no_results( |
| 521 | +def test_search_document_reference_no_results( |
522 | 522 | repository: DocumentPointerRepository, |
523 | 523 | ): |
524 | 524 | event = create_test_api_gateway_event( |
@@ -554,7 +554,7 @@ def test_beefy_search_document_reference_no_results( |
554 | 554 |
|
555 | 555 | @mock_aws |
556 | 556 | @mock_repository |
557 | | -def test_beefy_search_document_reference_missing_nhs_number( |
| 557 | +def test_search_document_reference_missing_nhs_number( |
558 | 558 | repository: DocumentPointerRepository, |
559 | 559 | ): |
560 | 560 | event = create_test_api_gateway_event(headers=create_headers()) |
@@ -593,7 +593,7 @@ def test_beefy_search_document_reference_missing_nhs_number( |
593 | 593 |
|
594 | 594 | @mock_aws |
595 | 595 | @mock_repository |
596 | | -def test_beefy_search_document_reference_invalid_nhs_number( |
| 596 | +def test_search_document_reference_invalid_nhs_number( |
597 | 597 | repository: DocumentPointerRepository, |
598 | 598 | ): |
599 | 599 | event = create_test_api_gateway_event( |
@@ -637,7 +637,7 @@ def test_beefy_search_document_reference_invalid_nhs_number( |
637 | 637 |
|
638 | 638 | @mock_aws |
639 | 639 | @mock_repository |
640 | | -def test_beefy_search_document_reference_invalid_type( |
| 640 | +def test_search_document_reference_invalid_type( |
641 | 641 | repository: DocumentPointerRepository, |
642 | 642 | ): |
643 | 643 | event = create_test_api_gateway_event( |
@@ -682,7 +682,7 @@ def test_beefy_search_document_reference_invalid_type( |
682 | 682 |
|
683 | 683 | @mock_aws |
684 | 684 | @mock_repository |
685 | | -def test_beefy_search_document_reference_invalid_category( |
| 685 | +def test_search_document_reference_invalid_category( |
686 | 686 | repository: DocumentPointerRepository, |
687 | 687 | ): |
688 | 688 | event = create_test_api_gateway_event( |
@@ -727,7 +727,7 @@ def test_beefy_search_document_reference_invalid_category( |
727 | 727 |
|
728 | 728 | @mock_aws |
729 | 729 | @mock_repository |
730 | | -def test_beefy_search_document_reference_filters_by_summary_count( |
| 730 | +def test_search_document_reference_filters_by_summary_count( |
731 | 731 | repository: DocumentPointerRepository, |
732 | 732 | ): |
733 | 733 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
@@ -768,7 +768,7 @@ def test_beefy_search_document_reference_filters_by_summary_count( |
768 | 768 | @mock_aws |
769 | 769 | @mock_repository |
770 | 770 | @patch("api.consumer.searchDocumentReference.search_document_reference.logger") |
771 | | -def test_beefy_search_document_reference_invalid_json( |
| 771 | +def test_search_document_reference_invalid_json( |
772 | 772 | mock_logger, repository: DocumentPointerRepository |
773 | 773 | ): |
774 | 774 | doc_ref = load_document_reference("Y05868-736253002-Valid") |
|
0 commit comments