Thanks for the recommendation Frederic. I think if I get enough time I might do some unittests and stubs for my scripts.
On Sun, Jun 18, 2023, 12:21 PM Frederic Martinsons < frederic.martins...@unabiz.com> wrote: > Fit, not feed of course. > > Anyway, if it doesn't fit your needs, you may want to look at this code > anyway and maybe tweak it to add more features. > If you do so, please open a merge request, I'm sure there are people > (including me of course) who are willing to see this modemanager mock > getting better. > > Have a nice day > > Le dim. 18 juin 2023, 19:05, Frederic Martinsons < > frederic.martins...@unabiz.com> a écrit : > >> Hello Fernando, >> >> For testing my applications, I personally use the stub/mock from MM git >> sources ( >> https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/tools/test-modemmanager-service.py >> ). >> >> It is aimed to mock the whole modemmanager process though (not a single >> modem device) but maybe it can feed your needs. >> >> Le mer. 14 juin 2023, 21:34, Fernando B <fredz0...@gmail.com> a écrit : >> >>> Hi all, >>> >>> I figure to ask in this community since most likely everyone deals with >>> modems on a regular basis. I work with edge devices, and sometimes the LTE >>> signal around the house is bad (wfh). We mainly use verizon and att. I have >>> a few scripts that I need to test, I come from the full stack dev world, >>> where we can sometimes mock (fake) certain things, so I was wondering if >>> such a thing exists for LTE modems, a simulator or a mock device in order >>> to streamline testing. >>> >>> Thank you, >>> Fernando B. >>> >> > *Disclaimer:** This e-mail and any attachments thereto are intended for > the sole use of the recipient(s) named above and may contain information > that is confidential and/or proprietary to UnaBiz. Any use of the > information contained herein (including, but not limited to, total or > partial reproduction, communication, or dissemination in any form) by > persons other than the intended recipient(s) is prohibited. If you have > received this e-mail in error, please notify the sender immediately and > delete it.*