Skip to content

Commit 213b592

Browse files
Add unit test for new config
1 parent d020aa0 commit 213b592

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tibco_ems/tests/test_unit.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,8 @@ def test_base_tags(dd_run_check, instance):
163163

164164
# assert the lenght of tags does not grow indefinitely
165165
assert len(check.tags) == 3
166+
167+
def test_use_ssl_server_string(instance):
168+
check = TibcoEMSCheck('tibco_ems', {}, [{**instance, 'use_ssl': True}])
169+
assert 'ssl://localhost:7222' in check.cmd
170+

0 commit comments

Comments
 (0)