Browse Source

SelectelProvider python3 (tests)

pull/384/head
Ross McFarland 6 years ago
parent
commit
25768c476f
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_selectel.py

+ 2
- 1
tests/test_octodns_provider_selectel.py View File

@ -6,6 +6,7 @@ from __future__ import absolute_import, division, print_function, \
unicode_literals
from unittest import TestCase
from six import text_type
import requests_mock
@ -288,7 +289,7 @@ class TestSelectelProvider(TestCase):
with self.assertRaises(Exception) as ctx:
SelectelProvider(123, 'fail_token')
self.assertEquals(ctx.exception.message,
self.assertEquals(text_type(ctx.exception),
'Authorization failed. Invalid or empty token.')
@requests_mock.Mocker()


Loading…
Cancel
Save