File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed
api/producer/createDocumentReference/tests Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -1929,35 +1929,6 @@ def test_create_logs_for_test_patient_multi_pointer(
19291929 ],
19301930 }
19311931
1932- assert any (
1932+ assert not any (
19331933 call [0 ][0 ].name == "PROCREATE012" for call in mock_logger .log .call_args_list
19341934 )
1935-
1936- assert {
1937- "existing_pointers_count" : 1 ,
1938- "nhs_number" : (
1939- doc_ref .subject .identifier .value
1940- if doc_ref .subject and doc_ref .subject .identifier
1941- else None
1942- ),
1943- "pointer_type" : (
1944- f"{ doc_ref .type .coding [0 ].system } |{ doc_ref .type .coding [0 ].code } "
1945- if doc_ref .type and doc_ref .type .coding
1946- else None
1947- ),
1948- "custodian" : (
1949- doc_ref .custodian .identifier .value
1950- if doc_ref .custodian and doc_ref .custodian .identifier
1951- else None
1952- ),
1953- "new_pointer_id" : "Y05868-00000000-0000-0000-0000-000000000001" ,
1954- "new_pointer_master_id" : (
1955- doc_ref .masterIdentifier .value if doc_ref .masterIdentifier else None
1956- ),
1957- } == [
1958- call [1 :][0 ]
1959- for call in mock_logger .log .call_args_list
1960- if call [0 ][0 ].name == "PROCREATE012"
1961- ][
1962- 0
1963- ]
You can’t perform that action at this time.
0 commit comments