Skip to content

Commit

Permalink
add test for overrides and change version number for release
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed May 17, 2021
1 parent 24303a3 commit d507270
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyLSV2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .table_reader import *
from .translate_messages import *

__version__ = '0.6.7'
__version__ = '0.6.8'
7 changes: 7 additions & 0 deletions tests/test_read_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@ def test_read_tool_information(address, timeout):
if lsv2.is_itnc():
assert lsv2.get_spindle_tool_status() is not False
lsv2.disconnect()

def test_read_override_information(address, timeout):
"""test if reading override values wordks"""
lsv2 = pyLSV2.LSV2(address, port=19000, timeout=timeout, safe_mode=False)
lsv2.connect()
assert lsv2.get_override_info() is not False
lsv2.disconnect()

0 comments on commit d507270

Please sign in to comment.