async def METHOD_NAME(self):
    context = InjectionContext(
        settings={
            "ledger.genesis_transactions": "dummy",
            "tails_server_upload_url": "http://1.2.3.4:8088",
        }
    )
    indy_tails = test_module.IndyTailsServer()
    with async_mock.patch.object(
        test_module, "put_file", async_mock.CoroutineMock()
    ) as mock_put:
        mock_put.return_value = "tails-hash"
        (ok, text) = await indy_tails.upload_tails_file(
            context,
            REV_REG_ID,
            "/tmp/dummy/path",
        )
        assert ok
        assert (
            text == context.settings["tails_server_upload_url"] + "/" + REV_REG_ID
        )