1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

TransipProvider python3

This commit is contained in:
Ross McFarland
2019-10-07 07:53:08 -07:00
parent 25768c476f
commit 90a60d3dbd
2 changed files with 3 additions and 3 deletions

View File

@@ -137,7 +137,7 @@ class TransipProvider(BaseProvider):
try:
self._client.get_info(plan.desired.name[:-1])
except WebFault as e:
self.log.warning('_apply: %s ', e.message)
self.log.exception('_apply: get_info failed')
raise e
_dns_entries = []

View File

@@ -5,8 +5,8 @@
from __future__ import absolute_import, division, print_function, \
unicode_literals
# from mock import Mock, call
from os.path import dirname, join
from six import text_type
from suds import WebFault
@@ -176,7 +176,7 @@ N4OiVz1I3rbZGYa396lpxO6ku8yCglisL1yrSP6DdEUp66ntpKVd
self.assertEquals(
'populate: (102) Transip used as target' +
' for non-existing zone: notfound.unit.tests.',
ctx.exception.message)
text_type(ctx.exception))
# Happy Plan - Zone does not exists
# Won't trigger an exception if provider is NOT used as a target for a