Wykres commitów

37 Commity (623ff17f61e227d461fca524c60a331c9a897672)

Autor SHA1 Wiadomość Data
Daniele Forsi IU5HKX bf518c0609 Fix Rig.get_ant()
The only supported value for get_ant() in the union of "option"
is signed integer.
Do the test when the rig is open.
2025-06-26 20:29:25 +02:00
Daniele Forsi IU5HKX 6c399b55ff Assert the length of sequences instead of the list datatype
We only need to check how many values exist.
2025-06-25 22:54:18 +02:00
Daniele Forsi IU5HKX 7223fb0766 Fix Rig.get_vfo_info() 2025-06-25 19:16:33 +02:00
Daniele Forsi IU5HKX 453e68c6cd Fix Rig.get_split_vfo()
The VFO argument optional with a default of RIG_VFO_CURR.
Fixes PR ##1555.
2025-06-25 19:16:33 +02:00
Daniele Forsi IU5HKX 66977a0f12 Explain unexpected results 2025-06-22 08:10:47 +02:00
Daniele Forsi IU5HKX 16a0ad7bf1 Update autogenerated tests for Hamlib module 2025-06-22 08:10:44 +02:00
Daniele Forsi IU5HKX 5d1baed7e5 Test setting and getting meaningful values 2025-06-22 08:02:15 +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 5915f17322 Update autogenerated tests for Rot object 2025-06-22 08:02:11 +02:00
Daniele Forsi IU5HKX 5c58c99207 Implement Rot.get_ext_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 6fd6e94d3b Implement Rot.get_ext_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX e34026707c Implement Rot.get_ext_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX be1a558e0d Implement Rot.set_ext_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX f7710d96b0 Implement Rot.set_ext_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 20960b726e Implement Rot.set_ext_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 5d142de5cd Implement Rot.get_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 8093f05c65 Implement Rot.get_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 94774a63d9 Implement Rot.set_level() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX cfca827f5e Implement Rot.set_parm() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX bb79bbc278 Implement Rot.get_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX cc0dbc9efd Implement Rot.set_func() 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 5a5279492e Mark asserts that are currently failing 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX a172b6001f Add tests for the Rot object 2025-06-22 07:57:58 +02:00
Daniele Forsi IU5HKX 4b64ea3169 Update autogenerated tests for Amp object 2025-06-22 07:57:55 +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
Daniele Forsi IU5HKX 57b23e7efc Add autogenerated test scripts for pytest 2025-06-22 07:38:20 +02:00
Daniele Forsi IU5HKX 464450384d Add a Python script to autogenerate some tests for pytest 2025-06-22 07:33:32 +02:00
Daniele Forsi IU5HKX 4b0fa60e95 Remove ignored symbol 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX 637ccebe02 Test returned datatypes 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX 591f7cf5c8 Fix Rig.get_ant() 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX 65ffc5426b Remove undocumented unused method rig.chan_clear() 2025-06-15 23:10:07 +02:00
Daniele Forsi IU5HKX 77c02b58bb Add tests for the Rig class 2025-06-15 23:10:07 +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