Ross McFarland
9f58b8e482
Record.octodns formalized, Record._octodns deprecated
Both point to the same thing via properties
2 years ago
Viranch Mehta
11118efe93
Raise exception when no yamls are found for a zone
2 years ago
Viranch Mehta
0181158953
Include sources only if they exist
2 years ago
Ross McFarland
8177ee6926
Revert "yaml provider is either split or zonefile, not both"
This reverts commit 6f39fcc5f7 .
2 years ago
Ross McFarland
6f39fcc5f7
yaml provider is either split or zonefile, not both
2 years ago
Ross McFarland
857d5e2a61
Record's carry context, Zone exceptions make use of it to help with error messages
2 years ago
Ross McFarland
cb28fa0e26
YamlProvider support for shared file, loaded into all zones
2 years ago
Ross McFarland
779f2f44fa
Rename split_only to disable_zonefile. More accurate and future-proof. Also improve doc a bit
2 years ago
Ross McFarland
aab868f345
Make sure the only* record isn't showing up when it shouldn't
2 years ago
Ross McFarland
3f7234bfd3
Move sources tests into correct class
2 years ago
Ross McFarland
61d3ed884a
More YamlProvider details testing
2 years ago
Ross McFarland
e473c32bfb
Add some directories to ignore
2 years ago
Ross McFarland
608e367a9b
More extensive tests of YamlProvider.list_zones
2 years ago
Ross McFarland
5b8498a550
Refactory yaml source logic out to make it easily testable
2 years ago
Ross McFarland
11ddb20005
Refactory YamlProvider and SplitYamlProvider into a unified class
2 years ago
Ross McFarland
c908d90656
Uncomment some lightweight dynamic yaml tests that were TODO'd
2 years ago
Ross McFarland
92623b1a2c
Testing of (Split)YamlProvider.list_zones w/fixes
2 years ago
Ross McFarland
6be0a8133a
isort import formatting
3 years ago
Ross McFarland
be7c3d279e
WIP breakup of octodns.record file
3 years ago
Ross McFarland
723db157ab
Provider.strict_supports=True by default, fix tests that didn't like that
3 years ago
Ross McFarland
d7880c084d
Remove from __futures__ bits, all are now manditory
3 years ago
Ross McFarland
fa4225b625
Fix lots of errant '...' '...' string joins
3 years ago
Ross McFarland
2e3d325f71
YamlProvider.SUPPORTS dynamically returns the list of registered types
3 years ago
Ross McFarland
557b80f784
Implement YamlProvider.supports that always says yes
3 years ago
Ross McFarland
27fc734c2a
Test YamlProvider handling of non-ascii record names
3 years ago
Ross McFarland
a33235d608
YamlProvider idna/utf-8 support, prefers utf8
3 years ago
Ross McFarland
e116d26eec
Implement black formatting
3 years ago
Sachi King
04be906c3c
Add test to validate non-dotted subdomain zones are vaild
This confirms that in addition to the recently added support for dotted
subdomains that subdomains that are not dotted are supported. From
RFC1034 Section 3.5 this would be a <subdomain> that contains a single
<label> without <subdomain> recurring.
4 years ago
Sachi King
e299ceced2
Prepare tests with failing "managed subzone" error
The is not a zone between delegated.subzone.unit.tests. and unit.tests.,
however we get a delegated subzone error. This modifies the tests to
succeed with the added record, however the tests fail as it incorrectly
throws the managed subzone error.
Change the name of delegated.subzone, and the tests will pass cleanly.
4 years ago
Ross McFarland
0d606e0728
dump output_provider testing
4 years ago
Ross McFarland
02296652ca
WIP: Backing out a more test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
4 years ago
Ross McFarland
adb01a982c
WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
4 years ago
Ross McFarland
5215930109
Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests
4 years ago
Ross McFarland
33a10eada4
Base support for managing root NS records
* Zone object no longer treats them special, some tests needed adjusting
b/c of this, some provider's tests may also need adjusting, though
they should not plan changes since they won't (yet) have
SUPPORTS_ROOT_NS
* _process_desired_zone filters and warns when not supported
* YamlProvider supports them
* TinyDnsBaseSource supports them
4 years ago
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
4 years ago
Ross McFarland
aae65594f2
Remove explicit use of six
4 years ago
Ross McFarland
9156bdaea0
f-strings for tests pass 1
4 years ago
Brian E Clow
c5efba89fe
Adding yaml support and testing for URLFWD
5 years ago
Ross McFarland
e90aeb5d34
pools used as fallbacks should count as seen
5 years ago
Mark Tearle
5d23977bbd
Adjust remaining unit tests due to extra records in test zone
5 years ago
Mark Tearle
9d4bd0aaec
Add support for LOC records
5 years ago
Ross McFarland
858628a867
Update yaml test path to work on windows
5 years ago
Ross McFarland
4ce2563d2e
Remove the rest of the . ending files, clean up code and tests for better coverage
5 years ago
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
support them
5 years ago
Jonathan Leroy
de51e5f531
Add support for DNAME records
5 years ago
Ross McFarland
a078ec9d31
Move to populate_should_replace rather then OverridingYamlProvider
6 years ago
Ross McFarland
00fa158c59
filter -> [... if]s
6 years ago
Ross McFarland
14063186f3
YamlProvider python3, tests
6 years ago
Ross McFarland
a9d0eef3ba
Lots of text_type
6 years ago
Ross McFarland
ee0efc5b3a
Explicit list-ification
6 years ago