Skip to content

Commit

Permalink
Temp test to find why python 2.6 failure
Browse files Browse the repository at this point in the history
  • Loading branch information
KSchopmeyer committed Jun 6, 2018
1 parent f2c9006 commit 0dabf45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pywbem/_subscription_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,7 @@ def _create_destination(self, server_id, dest_url, owned):
# validate the URL by reconstructing it. Do not allow defaults
host, port, ssl = parse_url(dest_url, allow_defaults=False)
schema = 'https' if ssl else 'http'
print('LISTENER_URL schema=%s host=%s, port=%s' % (schema, host, port))
listener_url = '{}://{}:{}'.format(schema, host, port)

this_host = getfqdn()
Expand Down
1 change: 1 addition & 0 deletions testsuite/test_subscriptionmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def test_create_not_owned_subscription(self):
server = WBEMServer(self.conn)

listener_url = '%s:%s' % (self.conn.url, 50000)
print('LISTENER_URL %s' % listener_url)

# Create a single not_owned subscription
with WBEMSubscriptionManager(subscription_manager_id=sm) as sub_mgr:
Expand Down

0 comments on commit 0dabf45

Please sign in to comment.