def METHOD_NAME(self, tmp_path, acfactory, lp):
    ac1, ac2 = acfactory.get_online_accounts(2)
    chat = ac1.create_chat(ac2)
    lp.sec("Creating file outside of blobdir")
    assert str(tmp_path) != ac1.get_blobdir()
    src = tmp_path / "file.txt"
    src.write_text("hello there\n")
    msg = chat.send_file(str(src))
    assert msg.filename.startswith(os.path.join(ac1.get_blobdir(), "file"))
    assert msg.filename.endswith(".txt")