Browse Source

Handle python3 sourcing of urlparse

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

+ 4
- 1
tests/test_octodns_provider_rackspace.py View File

@ -9,7 +9,10 @@ import json
import re
from six import text_type
from unittest import TestCase
from urlparse import urlparse
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
from requests import HTTPError
from requests_mock import ANY, mock as requests_mock


Loading…
Cancel
Save