Browse Source

Fix typos

pull/906/head
Kian-Meng Ang 4 years ago
parent
commit
04b7bf0ac2
32 changed files with 41 additions and 41 deletions
  1. +3
    -3
      CHANGELOG.md
  2. +4
    -4
      README.md
  3. +1
    -1
      octodns/processor/awsacm.py
  4. +1
    -1
      octodns/processor/base.py
  5. +1
    -1
      octodns/provider/azuredns.py
  6. +1
    -1
      octodns/provider/cloudflare.py
  7. +1
    -1
      octodns/provider/constellix.py
  8. +1
    -1
      octodns/provider/digitalocean.py
  9. +1
    -1
      octodns/provider/dnsimple.py
  10. +1
    -1
      octodns/provider/dnsmadeeasy.py
  11. +1
    -1
      octodns/provider/dyn.py
  12. +1
    -1
      octodns/provider/easydns.py
  13. +1
    -1
      octodns/provider/edgedns.py
  14. +1
    -1
      octodns/provider/etc_hosts.py
  15. +1
    -1
      octodns/provider/fastdns.py
  16. +1
    -1
      octodns/provider/gandi.py
  17. +1
    -1
      octodns/provider/gcore.py
  18. +1
    -1
      octodns/provider/googlecloud.py
  19. +1
    -1
      octodns/provider/hetzner.py
  20. +1
    -1
      octodns/provider/mythicbeasts.py
  21. +1
    -1
      octodns/provider/ns1.py
  22. +1
    -1
      octodns/provider/ovh.py
  23. +1
    -1
      octodns/provider/powerdns.py
  24. +1
    -1
      octodns/provider/rackspace.py
  25. +1
    -1
      octodns/provider/route53.py
  26. +1
    -1
      octodns/provider/selectel.py
  27. +1
    -1
      octodns/provider/transip.py
  28. +1
    -1
      octodns/provider/ultra.py
  29. +1
    -1
      octodns/source/base.py
  30. +3
    -3
      tests/test_octodns_manager.py
  31. +3
    -3
      tests/test_octodns_provider_base.py
  32. +1
    -1
      tests/test_octodns_record.py

+ 3
- 3
CHANGELOG.md View File

@ -162,7 +162,7 @@
unless the `processors` key is present in zone configs. unless the `processors` key is present in zone configs.
* Fixes NS1 provider's geotarget limitation of using `NA` continent. Now, when * Fixes NS1 provider's geotarget limitation of using `NA` continent. Now, when
`NA` is used in geos it considers **all** the countries of `North America` `NA` is used in geos it considers **all** the countries of `North America`
insted of just `us-east`, `us-west` and `us-central` regions
instead of just `us-east`, `us-west` and `us-central` regions
* `SX' & 'UM` country support added to NS1Provider, not yet in the North * `SX' & 'UM` country support added to NS1Provider, not yet in the North
America list for backwards compatibility reasons. They will be added in the America list for backwards compatibility reasons. They will be added in the
next releaser. next releaser.
@ -278,7 +278,7 @@
* AkamaiProvider, ConstellixProvider, MythicBeastsProvider, SelectelProvider, * AkamaiProvider, ConstellixProvider, MythicBeastsProvider, SelectelProvider,
& TransipPovider providers added & TransipPovider providers added
* Route53Provider seperator fix
* Route53Provider separator fix
* YamlProvider export error around stringification * YamlProvider export error around stringification
* PyPi markdown rendering fix * PyPi markdown rendering fix
@ -351,7 +351,7 @@
Using this version on existing records with `geo` will result in Using this version on existing records with `geo` will result in
recreating all health checks. This process has been tested pretty thoroughly to recreating all health checks. This process has been tested pretty thoroughly to
try and ensure a seemless upgrade without any traffic shifting around. It's
try and ensure a seamless upgrade without any traffic shifting around. It's
probably best to take extra care when updating and to try and make sure that probably best to take extra care when updating and to try and make sure that
all health checks are passing before the first sync with `--doit`. See all health checks are passing before the first sync with `--doit`. See
[#67](https://github.com/octodns/octodns/pull/67) for more information. [#67](https://github.com/octodns/octodns/pull/67) for more information.


+ 4
- 4
README.md View File

@ -23,7 +23,7 @@ The architecture is pluggable and the tooling is flexible to make it applicable
* [Updating to use extracted providers](#updating-to-use-extracted-providers) * [Updating to use extracted providers](#updating-to-use-extracted-providers)
- [Sources](#sources) - [Sources](#sources)
+ [Notes](#notes) + [Notes](#notes)
- [Compatibilty and Compliance](#compatibilty-and-compliance)
- [Compatibility and Compliance](#compatibilty-and-compliance)
* [`lenient`](#-lenient-) * [`lenient`](#-lenient-)
* [`strict_supports` (Work In Progress)](#-strict-supports---work-in-progress-) * [`strict_supports` (Work In Progress)](#-strict-supports---work-in-progress-)
* [Configuring `strict_supports`](#configuring--strict-supports-) * [Configuring `strict_supports`](#configuring--strict-supports-)
@ -55,7 +55,7 @@ $ mkdir config
#### Installing a specific commit SHA #### Installing a specific commit SHA
If you'd like to install a version that has not yet been released in a repetable/safe manner you can do the following. In general octoDNS is fairly stable inbetween releases thanks to the plan and apply process, but care should be taken regardless.
If you'd like to install a version that has not yet been released in a repetable/safe manner you can do the following. In general octoDNS is fairly stable in between releases thanks to the plan and apply process, but care should be taken regardless.
```shell ```shell
$ pip install -e git+https://git@github.com/octodns/octodns.git@<SHA>#egg=octodns $ pip install -e git+https://git@github.com/octodns/octodns.git@<SHA>#egg=octodns
@ -195,7 +195,7 @@ The above command pulled the existing data out of Route53 and placed the results
## Providers ## Providers
The table below lists the providers octoDNS supports. They are maintained in their own repositories and released as independant modules.
The table below lists the providers octoDNS supports. They are maintained in their own repositories and released as independent modules.
| Provider | Module | Notes | | Provider | Module | Notes |
|--|--|--| |--|--|--|
@ -250,7 +250,7 @@ Similar to providers, but can only serve to populate records into a zone, cannot
* Dnsimple's uses the configured TTL when serving things through the ALIAS, there's also a secondary TXT record created alongside the ALIAS that octoDNS ignores * Dnsimple's uses the configured TTL when serving things through the ALIAS, there's also a secondary TXT record created alongside the ALIAS that octoDNS ignores
* octoDNS itself supports non-ASCII character sets, but in testing Cloudflare is the only provider where that is currently functional end-to-end. Others have failures either in the client libraries or API calls * octoDNS itself supports non-ASCII character sets, but in testing Cloudflare is the only provider where that is currently functional end-to-end. Others have failures either in the client libraries or API calls
## Compatibilty and Compliance
## Compatibility and Compliance
### `lenient` ### `lenient`


+ 1
- 1
octodns/processor/awsacm.py View File

@ -15,7 +15,7 @@ try:
from octodns_route53.processor import AwsAcmMangingProcessor from octodns_route53.processor import AwsAcmMangingProcessor
AwsAcmMangingProcessor # pragma: no cover AwsAcmMangingProcessor # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('AwsAcmMangingProcessor has been moved into a seperate '
logger.exception('AwsAcmMangingProcessor has been moved into a separate '
'module, octodns_route53 is now required. Processor ' 'module, octodns_route53 is now required. Processor '
'class should be updated to ' 'class should be updated to '
'octodns_route53.processor.AwsAcmMangingProcessor') 'octodns_route53.processor.AwsAcmMangingProcessor')


+ 1
- 1
octodns/processor/base.py View File

@ -15,7 +15,7 @@ class BaseProcessor(object):
''' '''
Called after all sources have completed populate. Provides an Called after all sources have completed populate. Provides an
opportunity for the processor to modify the desired `Zone` that targets opportunity for the processor to modify the desired `Zone` that targets
will recieve.
will receive.
- Will see `desired` after any modifications done by - Will see `desired` after any modifications done by
`Provider._process_desired_zone` and processors configured to run `Provider._process_desired_zone` and processors configured to run


+ 1
- 1
octodns/provider/azuredns.py View File

@ -15,7 +15,7 @@ try:
from octodns_azure import AzureProvider from octodns_azure import AzureProvider
AzureProvider # pragma: no cover AzureProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('AzureProvider has been moved into a seperate module, '
logger.exception('AzureProvider has been moved into a separate module, '
'octodns_azure is now required. Provider class should ' 'octodns_azure is now required. Provider class should '
'be updated to octodns_azure.AzureProvider. See ' 'be updated to octodns_azure.AzureProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/cloudflare.py View File

@ -15,7 +15,7 @@ try:
from octodns_cloudflare import CloudflareProvider from octodns_cloudflare import CloudflareProvider
CloudflareProvider # pragma: no cover CloudflareProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('CloudflareProvider has been moved into a seperate '
logger.exception('CloudflareProvider has been moved into a separate '
'module, octodns_cloudflare is now required. Provider ' 'module, octodns_cloudflare is now required. Provider '
'class should be updated to ' 'class should be updated to '
'octodns_cloudflare.CloudflareProvider. See ' 'octodns_cloudflare.CloudflareProvider. See '


+ 1
- 1
octodns/provider/constellix.py View File

@ -15,7 +15,7 @@ try:
from octodns_constellix import ConstellixProvider from octodns_constellix import ConstellixProvider
ConstellixProvider # pragma: no cover ConstellixProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('ConstellixProvider has been moved into a seperate '
logger.exception('ConstellixProvider has been moved into a separate '
'module, octodns_constellix is now required. Provider ' 'module, octodns_constellix is now required. Provider '
'class should be updated to ' 'class should be updated to '
'octodns_constellix.ConstellixProvider. See ' 'octodns_constellix.ConstellixProvider. See '


+ 1
- 1
octodns/provider/digitalocean.py View File

@ -15,7 +15,7 @@ try:
from octodns_digitalocean import DigitalOceanProvider from octodns_digitalocean import DigitalOceanProvider
DigitalOceanProvider # pragma: no cover DigitalOceanProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('DigitalOceanProvider has been moved into a seperate '
logger.exception('DigitalOceanProvider has been moved into a separate '
'module, octodns_digitalocean is now required. Provider ' 'module, octodns_digitalocean is now required. Provider '
'class should be updated to ' 'class should be updated to '
'octodns_digitalocean.DigitalOceanProvider. See ' 'octodns_digitalocean.DigitalOceanProvider. See '


+ 1
- 1
octodns/provider/dnsimple.py View File

@ -15,7 +15,7 @@ try:
from octodns_dnsimple import DnsimpleProvider from octodns_dnsimple import DnsimpleProvider
DnsimpleProvider # pragma: no cover DnsimpleProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('DnsimpleProvider has been moved into a seperate module, '
logger.exception('DnsimpleProvider has been moved into a separate module, '
'octodns_dnsimple is now required. Provider class should ' 'octodns_dnsimple is now required. Provider class should '
'be updated to octodns_dnsimple.DnsimpleProvider. See ' 'be updated to octodns_dnsimple.DnsimpleProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/dnsmadeeasy.py View File

@ -15,7 +15,7 @@ try:
from octodns_dnsmadeeasy import DnsMadeEasyProvider from octodns_dnsmadeeasy import DnsMadeEasyProvider
DnsMadeEasyProvider # pragma: no cover DnsMadeEasyProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('DnsMadeEasyProvider has been moved into a seperate '
logger.exception('DnsMadeEasyProvider has been moved into a separate '
'module, octodns_dnsmadeeasy is now required. Provider ' 'module, octodns_dnsmadeeasy is now required. Provider '
'class should be updated to ' 'class should be updated to '
'octodns_dnsmadeeasy.DnsMadeEasyProvider. See ' 'octodns_dnsmadeeasy.DnsMadeEasyProvider. See '


+ 1
- 1
octodns/provider/dyn.py View File

@ -15,7 +15,7 @@ try:
from octodns_dyn import DynProvider from octodns_dyn import DynProvider
DynProvider # pragma: no cover DynProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('DynProvider has been moved into a seperate module, '
logger.exception('DynProvider has been moved into a separate module, '
'octodns_dyn is now required. Provider class should ' 'octodns_dyn is now required. Provider class should '
'be updated to octodns_dyn.DynProvider. See ' 'be updated to octodns_dyn.DynProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/easydns.py View File

@ -16,7 +16,7 @@ try:
EasyDnsProvider # pragma: no cover EasyDnsProvider # pragma: no cover
EasyDNSProvider # pragma: no cover EasyDNSProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('EasyDNSProvider has been moved into a seperate module, '
logger.exception('EasyDNSProvider has been moved into a separate module, '
'octodns_easydns is now required. Provider class should ' 'octodns_easydns is now required. Provider class should '
'be updated to octodns_easydns.EasyDnsProvider. See ' 'be updated to octodns_easydns.EasyDnsProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/edgedns.py View File

@ -15,7 +15,7 @@ try:
from octodns_edgedns import AkamaiProvider from octodns_edgedns import AkamaiProvider
AkamaiProvider # pragma: no cover AkamaiProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('AkamaiProvider has been moved into a seperate module, '
logger.exception('AkamaiProvider has been moved into a separate module, '
'octodns_edgedns is now required. Provider class should ' 'octodns_edgedns is now required. Provider class should '
'be updated to octodns_edgedns.AkamaiProvider. See ' 'be updated to octodns_edgedns.AkamaiProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/etc_hosts.py View File

@ -15,7 +15,7 @@ try:
from octodns_etchosts import EtcHostsProvider from octodns_etchosts import EtcHostsProvider
EtcHostsProvider # pragma: no cover EtcHostsProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('EtcHostsProvider has been moved into a seperate module, '
logger.exception('EtcHostsProvider has been moved into a separate module, '
'octodns_etchosts is now required. Provider class should ' 'octodns_etchosts is now required. Provider class should '
'be updated to octodns_etchosts.EtcHostsProvider. See ' 'be updated to octodns_etchosts.EtcHostsProvider. See '
'See https://github.com/octodns/octodns#updating-' 'See https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/fastdns.py View File

@ -8,7 +8,7 @@ from __future__ import absolute_import, division, print_function, \
from logging import getLogger from logging import getLogger
logger = getLogger('Akamai') logger = getLogger('Akamai')
logger.warning('AkamaiProvider has been moved into a seperate module, '
logger.warning('AkamaiProvider has been moved into a separate module, '
'octodns_edgedns is now required. Provider class should ' 'octodns_edgedns is now required. Provider class should '
'be updated to octodns_edgedns.AkamaiProvider. See ' 'be updated to octodns_edgedns.AkamaiProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/gandi.py View File

@ -15,7 +15,7 @@ try:
from octodns_gandi import GandiProvider from octodns_gandi import GandiProvider
GandiProvider # pragma: no cover GandiProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('GandiProvider has been moved into a seperate module, '
logger.exception('GandiProvider has been moved into a separate module, '
'octodns_gandi is now required. Provider class should ' 'octodns_gandi is now required. Provider class should '
'be updated to octodns_gandi.GandiProvider. See ' 'be updated to octodns_gandi.GandiProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/gcore.py View File

@ -15,7 +15,7 @@ try:
from octodns_gcore import GCoreProvider from octodns_gcore import GCoreProvider
GCoreProvider # pragma: no cover GCoreProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('GCoreProvider has been moved into a seperate module, '
logger.exception('GCoreProvider has been moved into a separate module, '
'octodns_gcore is now required. Provider class should ' 'octodns_gcore is now required. Provider class should '
'be updated to octodns_gcore.GCoreProvider. See ' 'be updated to octodns_gcore.GCoreProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/googlecloud.py View File

@ -15,7 +15,7 @@ try:
from octodns_googlecloud import GoogleCloudProvider from octodns_googlecloud import GoogleCloudProvider
GoogleCloudProvider # pragma: no cover GoogleCloudProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('GoogleCloudProvider has been moved into a seperate '
logger.exception('GoogleCloudProvider has been moved into a separate '
'module, octodns_googlecloud is now required. Provider ' 'module, octodns_googlecloud is now required. Provider '
'class should be updated to ' 'class should be updated to '
'octodns_googlecloud.GoogleCloudProvider. See ' 'octodns_googlecloud.GoogleCloudProvider. See '


+ 1
- 1
octodns/provider/hetzner.py View File

@ -15,7 +15,7 @@ try:
from octodns_hetzner import HetznerProvider from octodns_hetzner import HetznerProvider
HetznerProvider # pragma: no cover HetznerProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('HetznerProvider has been moved into a seperate module, '
logger.exception('HetznerProvider has been moved into a separate module, '
'octodns_hetzner is now required. Provider class should ' 'octodns_hetzner is now required. Provider class should '
'be updated to octodns_hetzner.HetznerProvider. See ' 'be updated to octodns_hetzner.HetznerProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/mythicbeasts.py View File

@ -15,7 +15,7 @@ try:
from octodns_mythicbeasts import MythicBeastsProvider from octodns_mythicbeasts import MythicBeastsProvider
MythicBeastsProvider # pragma: no cover MythicBeastsProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('MythicBeastsProvider has been moved into a seperate '
logger.exception('MythicBeastsProvider has been moved into a separate '
'module, octodns_mythicbeasts is now required. Provider ' 'module, octodns_mythicbeasts is now required. Provider '
'class should be updated to ' 'class should be updated to '
'octodns_mythicbeasts.MythicBeastsProvider. See ' 'octodns_mythicbeasts.MythicBeastsProvider. See '


+ 1
- 1
octodns/provider/ns1.py View File

@ -15,7 +15,7 @@ try:
from octodns_ns1 import Ns1Provider from octodns_ns1 import Ns1Provider
Ns1Provider # pragma: no cover Ns1Provider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('Ns1Provider has been moved into a seperate module, '
logger.exception('Ns1Provider has been moved into a separate module, '
'octodns_ns1 is now required. Provider class should ' 'octodns_ns1 is now required. Provider class should '
'be updated to octodns_ns1.Ns1Provider. See ' 'be updated to octodns_ns1.Ns1Provider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/ovh.py View File

@ -15,7 +15,7 @@ try:
from octodns_ovh import OvhProvider from octodns_ovh import OvhProvider
OvhProvider # pragma: no cover OvhProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('OvhProvider has been moved into a seperate module, '
logger.exception('OvhProvider has been moved into a separate module, '
'octodns_ovh is now required. Provider class should ' 'octodns_ovh is now required. Provider class should '
'be updated to octodns_ovh.OvhProvider. See ' 'be updated to octodns_ovh.OvhProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/powerdns.py View File

@ -16,7 +16,7 @@ try:
PowerDnsProvider # pragma: no cover PowerDnsProvider # pragma: no cover
PowerDnsBaseProvider # pragma: no cover PowerDnsBaseProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('PowerDnsProvider has been moved into a seperate module, '
logger.exception('PowerDnsProvider has been moved into a separate module, '
'octodns_powerdns is now required. Provider class should ' 'octodns_powerdns is now required. Provider class should '
'be updated to octodns_powerdns.PowerDnsProvider. See ' 'be updated to octodns_powerdns.PowerDnsProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/rackspace.py View File

@ -15,7 +15,7 @@ try:
from octodns_rackspace import RackspaceProvider from octodns_rackspace import RackspaceProvider
RackspaceProvider # pragma: no cover RackspaceProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('RackspaceProvider has been moved into a seperate '
logger.exception('RackspaceProvider has been moved into a separate '
'module, octodns_rackspace is now required. Provider ' 'module, octodns_rackspace is now required. Provider '
'class should be updated to ' 'class should be updated to '
'octodns_rackspace.RackspaceProvider. See ' 'octodns_rackspace.RackspaceProvider. See '


+ 1
- 1
octodns/provider/route53.py View File

@ -15,7 +15,7 @@ try:
from octodns_route53 import Route53Provider from octodns_route53 import Route53Provider
Route53Provider # pragma: no cover Route53Provider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('Route53Provider has been moved into a seperate module, '
logger.exception('Route53Provider has been moved into a separate module, '
'octodns_route53 is now required. Provider class should ' 'octodns_route53 is now required. Provider class should '
'be updated to octodns_route53.Route53Provider. See ' 'be updated to octodns_route53.Route53Provider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/selectel.py View File

@ -15,7 +15,7 @@ try:
from octodns_selectel import SelectelProvider from octodns_selectel import SelectelProvider
SelectelProvider # pragma: no cover SelectelProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('SelectelProvider has been moved into a seperate module, '
logger.exception('SelectelProvider has been moved into a separate module, '
'octodns_selectel is now required. Provider class should ' 'octodns_selectel is now required. Provider class should '
'be updated to octodns_selectel.SelectelProvider. See ' 'be updated to octodns_selectel.SelectelProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/transip.py View File

@ -15,7 +15,7 @@ try:
from octodns_transip import TransipProvider from octodns_transip import TransipProvider
TransipProvider # pragma: no cover TransipProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('TransipProvider has been moved into a seperate module, '
logger.exception('TransipProvider has been moved into a separate module, '
'octodns_transip is now required. Provider class should ' 'octodns_transip is now required. Provider class should '
'be updated to octodns_transip.TransipProvider. See ' 'be updated to octodns_transip.TransipProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/provider/ultra.py View File

@ -15,7 +15,7 @@ try:
from octodns_ultra import UltraProvider from octodns_ultra import UltraProvider
UltraProvider # pragma: no cover UltraProvider # pragma: no cover
except ModuleNotFoundError: except ModuleNotFoundError:
logger.exception('UltraProvider has been moved into a seperate module, '
logger.exception('UltraProvider has been moved into a separate module, '
'octodns_ultra is now required. Provider class should ' 'octodns_ultra is now required. Provider class should '
'be updated to octodns_ultra.UltraProvider. See ' 'be updated to octodns_ultra.UltraProvider. See '
'https://github.com/octodns/octodns#updating-' 'https://github.com/octodns/octodns#updating-'


+ 1
- 1
octodns/source/base.py View File

@ -38,7 +38,7 @@ class BaseSource(object):
When `lenient` is True the populate call may skip record validation and When `lenient` is True the populate call may skip record validation and
do a "best effort" load of data. That will allow through some common, do a "best effort" load of data. That will allow through some common,
but not best practices stuff that we otherwise would reject. E.g. no but not best practices stuff that we otherwise would reject. E.g. no
trailing . or mising escapes for ;.
trailing . or missing escapes for ;.
When target is True (loading current state) this method should return When target is True (loading current state) this method should return
True if the zone exists or False if it does not. True if the zone exists or False if it does not.


+ 3
- 3
tests/test_octodns_manager.py View File

@ -290,7 +290,7 @@ class TestManager(TestCase):
manager.dump('unit.tests.', tmpdir.dirname, False, False, 'in') manager.dump('unit.tests.', tmpdir.dirname, False, False, 'in')
# make sure this fails with an IOError and not a KeyError when # make sure this fails with an IOError and not a KeyError when
# tyring to find sub zones
# trying to find sub zones
with self.assertRaises(IOError): with self.assertRaises(IOError):
manager.dump('unknown.zone.', tmpdir.dirname, False, False, manager.dump('unknown.zone.', tmpdir.dirname, False, False,
'in') 'in')
@ -319,7 +319,7 @@ class TestManager(TestCase):
manager.dump('unit.tests.', tmpdir.dirname, False, True, 'in') manager.dump('unit.tests.', tmpdir.dirname, False, True, 'in')
# make sure this fails with an OSError and not a KeyError when # make sure this fails with an OSError and not a KeyError when
# tyring to find sub zones
# trying to find sub zones
with self.assertRaises(OSError): with self.assertRaises(OSError):
manager.dump('unknown.zone.', tmpdir.dirname, False, True, manager.dump('unknown.zone.', tmpdir.dirname, False, True,
'in') 'in')
@ -447,7 +447,7 @@ class TestManager(TestCase):
manager.sync(['unit.tests.']) manager.sync(['unit.tests.'])
with self.assertRaises(ManagerException) as ctx: with self.assertRaises(ManagerException) as ctx:
# This zone specifies a non-existant processor
# This zone specifies a non-existent processor
manager.sync(['bad.unit.tests.']) manager.sync(['bad.unit.tests.'])
self.assertTrue('Zone bad.unit.tests., unknown processor: ' self.assertTrue('Zone bad.unit.tests., unknown processor: '
'doesnt-exist' in str(ctx.exception)) 'doesnt-exist' in str(ctx.exception))


+ 3
- 3
tests/test_octodns_provider_base.py View File

@ -744,13 +744,13 @@ class TestBaseProviderSupportsRootNs(TestCase):
# different root is in the desired # different root is in the desired
plan = provider.plan(self.has_root) plan = provider.plan(self.has_root)
# the mis-match doesn't matter since we can't manage the records
# the mismatch doesn't matter since we can't manage the records
# anyway, they will have been removed from the desired and existing. # anyway, they will have been removed from the desired and existing.
self.assertFalse(plan) self.assertFalse(plan)
# plan again with strict_supports enabled, we should get an exception # plan again with strict_supports enabled, we should get an exception
# b/c we have something configured that can't be managed (doesn't # b/c we have something configured that can't be managed (doesn't
# matter that it's a mis-match)
# matter that it's a mismatch)
provider.strict_supports = True provider.strict_supports = True
with self.assertRaises(SupportsException) as ctx: with self.assertRaises(SupportsException) as ctx:
provider.plan(self.has_root) provider.plan(self.has_root)
@ -765,7 +765,7 @@ class TestBaseProviderSupportsRootNs(TestCase):
# desired doesn't have a root # desired doesn't have a root
plan = provider.plan(self.no_root) plan = provider.plan(self.no_root)
# the mis-match doesn't matter since we can't manage the records
# the mismatch doesn't matter since we can't manage the records
# anyway, they will have been removed from the desired and existing. # anyway, they will have been removed from the desired and existing.
self.assertFalse(plan) self.assertFalse(plan)


+ 1
- 1
tests/test_octodns_record.py View File

@ -1759,7 +1759,7 @@ class TestRecordValidation(TestCase):
reason = ctx.exception.reasons[0] reason = ctx.exception.reasons[0]
self.assertTrue(reason.startswith('invalid name "@", use "" instead')) self.assertTrue(reason.startswith('invalid name "@", use "" instead'))
# fqdn length, DNS defins max as 253
# fqdn length, DNS defines max as 253
with self.assertRaises(ValidationError) as ctx: with self.assertRaises(ValidationError) as ctx:
# The . will put this over the edge # The . will put this over the edge
name = 'x' * (253 - len(self.zone.name)) name = 'x' * (253 - len(self.zone.name))


Loading…
Cancel
Save