Daniele Forsi IU5HKX
0a30ba6dc7
Add rig_get_debug() and rig_set_debug_time_stamp() to the bindings
...
Brings test coverage of debug.c over 55%.
2025-09-21 11:27:27 +02:00
Daniele Forsi IU5HKX
194f9d3a62
Add tests for dmmm2dec() dec2dmmm() azimuth_long_path()
...
Brings function coverage of locator.c to 100%.
2025-09-21 11:27:27 +02:00
Daniele Forsi IU5HKX
36576f8e40
Revert "Fix Rig.send_morse()"
...
This reverts commit 656cf536524197c56d0523d424ba4eacfdbbc278.
Conflicts:
bindings/python/test_rig.py
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
5319f8b31b
Revert "Fix Rig.set_freq()"
...
This reverts commit 070efb7b4127f0b5626596d071d6c68fcee1d3de.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
90c56f3e1f
Fix Rig.set_freq()
...
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
13c2413bba
Fix Rig.send_morse()
...
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX
61ad3cda10
Use Hamlib.rigerror2() to get the error message for the given error number
2025-07-06 15:25:51 +02:00
Daniele Forsi IU5HKX
ec8eaab1f5
Enable assert Hamlib.rigerror()
...
Pull request #1727 has been merged so now the test succeeds.
2025-06-22 08:02:15 +02:00
Daniele Forsi IU5HKX
c693afb040
Replace print() with assert
...
So changes in behavior can be detected.
2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX
f4dcd7d565
Add a pytest test copying all the contents of the old py3test.py
...
Python tests are enabled by default when building the Python bindings
if pytest is available at configuration time:
./configure --with-python-binding
or
./configure --with-python-binding --enable-pytest=check
To fail the configure step if the tests can't be enabled:
./configure --with-python-binding --enable-pytest
or
./configure --with-python-binding --enable-pytest=yes
To disable the tests:
./configure --with-python-binding --enable-pytest=no
To run the tests:
make -C bindings/ check
2025-06-15 23:10:07 +02:00