Browse Source

FastDNS python3

pull/384/head
Ross McFarland 6 years ago
parent
commit
47199fdfab
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tests/test_octodns_provider_fastdns.py

+ 2
- 1
tests/test_octodns_provider_fastdns.py View File

@ -9,6 +9,7 @@ from __future__ import absolute_import, division, print_function, \
from os.path import dirname, join
from requests import HTTPError
from requests_mock import ANY, mock as requests_mock
from six import text_type
from unittest import TestCase
from octodns.record import Record
@ -147,4 +148,4 @@ class TestFastdnsProvider(TestCase):
changes = provider.apply(plan)
except NameError as e:
expected = "contractId not specified to create zone"
self.assertEquals(e.message, expected)
self.assertEquals(text_type(e), expected)

Loading…
Cancel
Save