Re: Simulate or mock modems

2023-06-19 Thread Fernando B
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

Re: Simulate or mock modems

2023-06-18 Thread Frederic Martinsons
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

Re: Simulate or mock modems

2023-06-18 Thread Frederic Martinsons
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) bu