Skip to content

Commit

Permalink
Connection refused
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev committed Sep 24, 2018
1 parent 8399f6a commit 7dd939a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_01modbus_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_no_IP(self, host):
def test_bad_IP(self, host):
"""Test bad IP"""
key = "modbus_read_registers[badIP,3,14,3,uint32,BE,0]"
assert zabbix_get(key) == 'ZBX_NOTSUPPORTED: Network is unreachable'
assert zabbix_get(key) == 'ZBX_NOTSUPPORTED: Connection refused'

def test_no_slaveID(self, host):
key = "modbus_read_registers[{HOST.CONN},,14,3,uint32,BE,0]"
Expand Down

0 comments on commit 7dd939a

Please sign in to comment.