Skip to content

Commit

Permalink
prepare minor release v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
M0r13n committed Aug 2, 2020
1 parent 74df08e commit ddee5cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyais/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pyais.stream import TCPStream, FileReaderStream

__license__ = 'MIT'
__version__ = '1.1.0'
__version__ = '1.1.1'

__all__ = (
'NMEAMessage',
Expand Down
3 changes: 3 additions & 0 deletions tests/test_ais.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ def test_decode_pos_1_2_3(self):
assert round(content['lon'], 4) == 9.9794
assert round(content['course'], 1) == 0.0

msg: NMEAMessage = NMEAMessage(b"!AIVDM,1,1,,B,0S9edj0P03PecbBN`ja@0?w42cFC,0*7C")
assert msg.decode().to_json()

def test_msg_type_3(self):
msg = NMEAMessage(b"!AIVDM,1,1,,A,35NSH95001G?wopE`beasVk@0E5:,0*6F").decode()
assert msg['type'] == 3
Expand Down

0 comments on commit ddee5cc

Please sign in to comment.