Commit graph

7 commits

Author SHA1 Message Date
Daniele Forsi IU5HKX
0df9d1767e Allow to execute some tests with a simulator or with a real amplifier
To execute the tests with the installed Hamlib use the same long arguments
as ampctl, eg:
 bindings/python/test_amp.py --model {MODEL_NUMBER} --amp-file /dev/ttyUSB0 --serial-speed {BAUD}

To execute the tests from the build tree, add the path to the libraries
that you built, eg. from the root of the build tree:
 PYTHONPATH=bindings/:bindings/.libs/ ...your command...
2025-07-27 12:57:35 +02:00
Daniele Forsi IU5HKX
ce6e4a8e57 Make test_amp.py more similar to the others 2025-07-19 17:22:25 +02:00
Daniele Forsi IU5HKX
74914f0db8 Remove duplicated tests 2025-07-19 17:15:53 +02:00
Daniele Forsi IU5HKX
f7d38f92ca Implement Amp.get_level 2025-06-22 07:38:23 +02:00
Daniele Forsi IU5HKX
4e415f412b Implement Amp.get_freq 2025-06-22 07:38:23 +02:00
Daniele Forsi IU5HKX
02f7b96163 Implement Amp.get_powerstat 2025-06-22 07:38:23 +02:00
Daniele Forsi IU5HKX
98fdcf130f Add tests for the Amp object 2025-06-22 07:38:23 +02:00