holado 0.9.3__py3-none-any.whl → 0.10.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of holado might be problematic. Click here for more details.

Files changed (48) hide show
  1. holado/__init__.py +24 -6
  2. holado/common/context/session_context.py +5 -4
  3. holado/holado_config.py +4 -1
  4. {holado-0.9.3.dist-info → holado-0.10.1.dist-info}/METADATA +1 -1
  5. {holado-0.9.3.dist-info → holado-0.10.1.dist-info}/RECORD +48 -47
  6. holado_ais/ais/ais_messages.py +33 -3
  7. holado_ais/tests/behave/steps/ais/ais_messages_steps.py +23 -3
  8. holado_core/common/tools/path_manager.py +6 -3
  9. holado_docker/tools/docker_controller/server/rest/run.py +5 -2
  10. holado_docker/tools/docker_viewer/server/rest/run.py +5 -2
  11. holado_logging/common/logging/log_manager.py +71 -29
  12. holado_multitask/multithreading/context/thread_context.py +3 -1
  13. holado_python/standard_library/queue.py +1 -1
  14. holado_python/standard_library/ssl/resources/certificates/tcpbin.crt +16 -16
  15. holado_python/standard_library/ssl/resources/certificates/tcpbin.key +26 -26
  16. holado_scripting/__init__.py +2 -1
  17. holado_scripting/common/tools/variable_manager.py +42 -9
  18. holado_test/common/context/feature_context.py +3 -1
  19. holado_test/common/context/scenario_context.py +3 -1
  20. holado_test/test_server/server/rest/run.py +2 -1
  21. test_holado/environment.py +3 -1
  22. test_holado/features/NonReg/holado_ais/ais_message-bitarray_to_nmea.feature +1 -1
  23. test_holado/features/NonReg/holado_ais/ais_message-nmea_raw_to_dict.feature +93 -0
  24. test_holado/features/NonReg/holado_ais/message_types/type-10.feature +1 -1
  25. test_holado/features/NonReg/holado_ais/message_types/type-12.feature +1 -1
  26. test_holado/features/NonReg/holado_ais/message_types/type-14.feature +1 -1
  27. test_holado/features/NonReg/holado_ais/message_types/type-15.feature +1 -1
  28. test_holado/features/NonReg/holado_ais/message_types/type-16.feature +1 -1
  29. test_holado/features/NonReg/holado_ais/message_types/type-17.feature +1 -1
  30. test_holado/features/NonReg/holado_ais/message_types/type-18.feature +1 -1
  31. test_holado/features/NonReg/holado_ais/message_types/type-19.feature +1 -1
  32. test_holado/features/NonReg/holado_ais/message_types/type-1_2_3.feature +1 -1
  33. test_holado/features/NonReg/holado_ais/message_types/type-20.feature +1 -1
  34. test_holado/features/NonReg/holado_ais/message_types/type-21.feature +1 -1
  35. test_holado/features/NonReg/holado_ais/message_types/type-22.feature +2 -2
  36. test_holado/features/NonReg/holado_ais/message_types/type-23.feature +1 -1
  37. test_holado/features/NonReg/holado_ais/message_types/type-24.feature +2 -2
  38. test_holado/features/NonReg/holado_ais/message_types/type-25.feature +4 -4
  39. test_holado/features/NonReg/holado_ais/message_types/type-26.feature +4 -4
  40. test_holado/features/NonReg/holado_ais/message_types/type-27.feature +1 -1
  41. test_holado/features/NonReg/holado_ais/message_types/type-4_11.feature +1 -1
  42. test_holado/features/NonReg/holado_ais/message_types/type-5.feature +1 -1
  43. test_holado/features/NonReg/holado_ais/message_types/type-6.feature +1 -1
  44. test_holado/features/NonReg/holado_ais/message_types/type-7_13.feature +1 -1
  45. test_holado/features/NonReg/holado_ais/message_types/type-8.feature +1 -1
  46. test_holado/features/NonReg/holado_ais/message_types/type-9.feature +1 -1
  47. {holado-0.9.3.dist-info → holado-0.10.1.dist-info}/WHEEL +0 -0
  48. {holado-0.9.3.dist-info → holado-0.10.1.dist-info}/licenses/LICENSE +0 -0
@@ -26,7 +26,7 @@ Feature: Message type 18 : Standard Class B Position Report
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | accuracy | assigned | band | course | cs | display | dsc | heading | lat | lon | mmsi | msg22 | msg_type | radio | raim | repeat | reserved_1 | reserved_2 | second | speed |
@@ -26,7 +26,7 @@ Feature: Message type 19 : Extended Class B Position Report
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | accuracy | assigned | course | dte | epfd | heading | lat | lon | mmsi | msg_type | raim | repeat | reserved_1 | reserved_2 | second | ship_type | shipname | speed | to_bow | to_port | to_starboard | to_stern |
@@ -28,7 +28,7 @@ Feature: Message types 1, 2 and 3 : position report
28
28
  Then STRING_NMEA_MSG[-3] == <channel>
29
29
 
30
30
  # Decode NMEA message
31
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
31
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
32
32
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
33
33
  Then table DECODED_NMEA_MESSAGE_TABLE is
34
34
  | accuracy | course | heading | lat | lon | maneuver | mmsi | msg_type | radio | raim | repeat | second | speed | status | turn |
@@ -26,7 +26,7 @@ Feature: Message type 20 : Data Link Management
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | increment1 | increment2 | increment3 | increment4 | mmsi | msg_type | number1 | number2 | number3 | number4 | offset1 | offset2 | offset3 | offset4 | repeat | timeout1 | timeout2 | timeout3 | timeout4 |
@@ -26,7 +26,7 @@ Feature: Message type 21 : Aids To Navigation Report
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | accuracy | aid_type | assigned | epfd | lat | lon | mmsi | msg_type | name | name_ext | off_position | raim | repeat | reserved_1 | second | to_bow | to_port | to_starboard | to_stern | virtual_aid |
@@ -27,7 +27,7 @@ Feature: Message type 22 : Channel Management Addressed & Broadcast
27
27
  Then STRING_NMEA_MSG[-3] == 'A'
28
28
 
29
29
  # Decode NMEA message
30
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
30
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
31
31
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
32
32
  Then table DECODED_NMEA_MESSAGE_TABLE is
33
33
  | addressed | band_a | band_b | channel_a | channel_b | dest1 | dest2 | empty_1 | empty_2 | mmsi | msg_type | power | repeat | txrx | zonesize |
@@ -73,7 +73,7 @@ Feature: Message type 22 : Channel Management Addressed & Broadcast
73
73
  Then STRING_NMEA_MSG[-3] == 'B'
74
74
 
75
75
  # Decode NMEA message
76
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
76
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
77
77
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
78
78
  Then table DECODED_NMEA_MESSAGE_TABLE is
79
79
  | addressed | band_a | band_b | channel_a | channel_b | mmsi | msg_type | ne_lat | ne_lon | power | repeat | sw_lat | sw_lon | txrx | zonesize |
@@ -38,7 +38,7 @@ Feature: Message type 23 : Group Assignment Command
38
38
  Then STRING_NMEA_MSG[-3] == 'A'
39
39
 
40
40
  # Decode NMEA message
41
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
41
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
42
42
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
43
43
  Then table DECODED_NMEA_MESSAGE_TABLE is
44
44
  | interval | mmsi | msg_type | ne_lat | ne_lon | quiet | repeat | ship_type | station_type | sw_lat | sw_lon | txrx |
@@ -27,7 +27,7 @@ Feature: Message type 24 : Static Data Report Part A & part B
27
27
  Then STRING_NMEA_MSG[-3] == 'A'
28
28
 
29
29
  # Decode NMEA message
30
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
30
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
31
31
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
32
32
  Then table DECODED_NMEA_MESSAGE_TABLE is
33
33
  | mmsi | msg_type | partno | repeat | shipname |
@@ -61,7 +61,7 @@ Feature: Message type 24 : Static Data Report Part A & part B
61
61
  Then STRING_NMEA_MSG[-3] == 'A'
62
62
 
63
63
  # Decode NMEA message
64
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
64
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
65
65
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
66
66
  Then table DECODED_NMEA_MESSAGE_TABLE is
67
67
  | callsign | mmsi | model | msg_type | partno | repeat | serial | ship_type | to_bow | to_port | to_starboard | to_stern | vendorid |
@@ -28,7 +28,7 @@ Feature: Message type 25 : Single Slot Binary Message
28
28
  Then STRING_NMEA_MSG[-3] == 'A'
29
29
 
30
30
  # Decode NMEA message
31
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
31
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
32
32
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
33
33
  Then table DECODED_NMEA_MESSAGE_TABLE is
34
34
  | addressed | app_id | data | dest_mmsi | mmsi | msg_type | repeat | structured |
@@ -63,7 +63,7 @@ Feature: Message type 25 : Single Slot Binary Message
63
63
  Then STRING_NMEA_MSG[-3] == 'A'
64
64
 
65
65
  # Decode NMEA message
66
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
66
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
67
67
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
68
68
  Then table DECODED_NMEA_MESSAGE_TABLE is
69
69
  | addressed | app_id | data | mmsi | msg_type | repeat | structured |
@@ -98,7 +98,7 @@ Feature: Message type 25 : Single Slot Binary Message
98
98
  Then STRING_NMEA_MSG[-3] == 'A'
99
99
 
100
100
  # Decode NMEA message
101
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
101
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
102
102
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
103
103
  Then table DECODED_NMEA_MESSAGE_TABLE is
104
104
  | addressed | data | dest_mmsi | mmsi | msg_type | repeat | structured |
@@ -133,7 +133,7 @@ Feature: Message type 25 : Single Slot Binary Message
133
133
  Then STRING_NMEA_MSG[-3] == 'A'
134
134
 
135
135
  # Decode NMEA message
136
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
136
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
137
137
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
138
138
  Then table DECODED_NMEA_MESSAGE_TABLE is
139
139
  | addressed | data | mmsi | msg_type | repeat | structured |
@@ -28,7 +28,7 @@ Feature: Message type 26
28
28
  Then STRING_NMEA_MSG[-3] == 'A'
29
29
 
30
30
  # Decode NMEA message
31
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
31
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
32
32
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
33
33
  Then table DECODED_NMEA_MESSAGE_TABLE is
34
34
  | addressed | app_id | data | dest_mmsi | mmsi | msg_type | radio | repeat | structured |
@@ -63,7 +63,7 @@ Feature: Message type 26
63
63
  Then STRING_NMEA_MSG[-3] == 'A'
64
64
 
65
65
  # Decode NMEA message
66
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
66
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
67
67
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
68
68
  Then table DECODED_NMEA_MESSAGE_TABLE is
69
69
  | addressed | app_id | data | mmsi | msg_type | radio | repeat | structured |
@@ -98,7 +98,7 @@ Feature: Message type 26
98
98
  Then STRING_NMEA_MSG[-3] == 'A'
99
99
 
100
100
  # Decode NMEA message
101
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
101
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
102
102
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
103
103
  Then table DECODED_NMEA_MESSAGE_TABLE is
104
104
  | addressed | data | dest_mmsi | mmsi | msg_type | radio | repeat | structured |
@@ -133,7 +133,7 @@ Feature: Message type 26
133
133
  Then STRING_NMEA_MSG[-3] == 'A'
134
134
 
135
135
  # Decode NMEA message
136
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
136
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
137
137
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
138
138
  Then table DECODED_NMEA_MESSAGE_TABLE is
139
139
  | addressed | data | mmsi | msg_type | radio | repeat | structured |
@@ -26,7 +26,7 @@ Feature: Message type 27
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | accuracy | course | gnss | lat | lon | mmsi | msg_type | raim | repeat | speed | status |
@@ -27,7 +27,7 @@ Feature: Message types 4 and 11 : Base Station Report
27
27
  Then STRING_NMEA_MSG[-3] == <channel>
28
28
 
29
29
  # Decode NMEA message
30
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
30
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
31
31
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
32
32
  Then table DECODED_NMEA_MESSAGE_TABLE is
33
33
  | accuracy | day | epfd | hour | lat | lon | minute | mmsi | month | msg_type | radio | raim | repeat | second | year |
@@ -26,7 +26,7 @@ Feature: Message type 5 : Ship Static Data
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | ais_version | callsign | day | destination | draught | dte | epfd | hour | imo | minute | mmsi | month | msg_type | repeat | ship_type | shipname | to_bow | to_port | to_starboard | to_stern |
@@ -26,7 +26,7 @@ Feature: Message type 6 : Addressed Binary Message
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | dac | data | dest_mmsi | fid | mmsi | msg_type | repeat | retransmit | seqno |
@@ -27,7 +27,7 @@ Feature: Message types 7 and 13 : Binary Acknowledge
27
27
  Then STRING_NMEA_MSG[-3] == <channel>
28
28
 
29
29
  # Decode NMEA message
30
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
30
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
31
31
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
32
32
  Then table DECODED_NMEA_MESSAGE_TABLE is
33
33
  | mmsi | mmsi1 | mmsi2 | mmsi3 | mmsi4 | mmsiseq1 | mmsiseq2 | mmsiseq3 | mmsiseq4 | msg_type | repeat |
@@ -26,7 +26,7 @@ Feature: Message type 8 : Binary Broadcast Message
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | dac | data | fid | mmsi | msg_type | repeat |
@@ -26,7 +26,7 @@ Feature: Message type 9 : Standard SAR Aircraft Position Report
26
26
  Then STRING_NMEA_MSG[-3] == 'A'
27
27
 
28
28
  # Decode NMEA message
29
- Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionnary
29
+ Given DECODED_NMEA_MESSAGE = decode NMEA AIS message NMEA_SENTENCES as dictionary
30
30
  When DECODED_NMEA_MESSAGE_TABLE = convert dictionary DECODED_NMEA_MESSAGE to table with keys as columns
31
31
  Then table DECODED_NMEA_MESSAGE_TABLE is
32
32
  | accuracy | alt | assigned | course | dte | lat | lon | mmsi | msg_type | radio | raim | repeat | reserved_1 | second | speed |