Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuka committed Jun 27, 2024
1 parent 0d4c7c6 commit d3d3ddc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
'name': 'dell_storage',
'title': u'Checkmk Dell Storage API Special-Agent',
'version': '2.3.0-1',
'version': '2.3.0-2',
'version.min_required': '2.3.0p3',
'version.packaged': '2.3.0',
'version.usable_until': '2.4.0'
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions tests/unit/lib/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def test_repr(self, apiObject):
def test_fields(self, apiObject):
assert apiObject._fields() == ['instanceName', 'status', 'statusMessage', 'foo']

def test_to_agent(self, apiObject):
assert apiObject.to_agent() == 'name;Up;;123'
def test_str(self, apiObject):
assert str(apiObject) == 'name;Up;;123'

def test_to_agent_sep(self, apiObject):
assert apiObject.to_agent('-') == 'name-Up--123'
def test_str_sep(self, apiObject):
assert apiObject.__str__('-') == 'name-Up--123'

0 comments on commit d3d3ddc

Please sign in to comment.