예제 #1
0
def test_execute_bundle(test_dataset, test_fhir_store, capsys):
    fhir_resources.execute_bundle(
        base_url, project_id, cloud_region, dataset_id, fhir_store_id, bundle,
    )

    out, _ = capsys.readouterr()

    assert "Executed bundle from file" in out
def test_execute_bundle(test_dataset, test_fhir_store, capsys):
    fhir_resources.execute_bundle(
        service_account_json,
        base_url,
        project_id,
        cloud_region,
        dataset_id,
        fhir_store_id,
        bundle,
    )

    out, _ = capsys.readouterr()

    # execute_bundle test
    assert "Executed bundle" in out