mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Added parameters to tests.
Make other minor tweaks and documentation.
This commit is contained in:
parent
3874cc19ad
commit
2325803dd3
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ def test_valid_disconnect(mycall: str, dxcall: str):
|
||||||
# Set the SSIDs we'll use for this test.
|
# Set the SSIDs we'll use for this test.
|
||||||
static.SSID_LIST = [0, 1, 2, 3, 4]
|
static.SSID_LIST = [0, 1, 2, 3, 4]
|
||||||
|
|
||||||
# set up the static parameters for the connection.
|
# Setup the static parameters for the connection.
|
||||||
mycallsign_bytes = helpers.callsign_to_bytes(mycall)
|
mycallsign_bytes = helpers.callsign_to_bytes(mycall)
|
||||||
mycallsign = helpers.bytes_to_callsign(mycallsign_bytes)
|
mycallsign = helpers.bytes_to_callsign(mycallsign_bytes)
|
||||||
static.MYCALLSIGN = mycallsign
|
static.MYCALLSIGN = mycallsign
|
||||||
|
@ -161,7 +161,7 @@ def test_foreign_disconnect(mycall: str, dxcall: str):
|
||||||
:return: Bytearray of the requested frame
|
:return: Bytearray of the requested frame
|
||||||
:rtype: bytearray
|
:rtype: bytearray
|
||||||
"""
|
"""
|
||||||
# set up the static parameters for the connection.
|
# Setup the static parameters for the connection.
|
||||||
mycallsign_bytes = helpers.callsign_to_bytes(mycall)
|
mycallsign_bytes = helpers.callsign_to_bytes(mycall)
|
||||||
mycallsign = helpers.bytes_to_callsign(mycallsign_bytes)
|
mycallsign = helpers.bytes_to_callsign(mycallsign_bytes)
|
||||||
static.MYCALLSIGN = mycallsign
|
static.MYCALLSIGN = mycallsign
|
||||||
|
|
Loading…
Reference in a new issue