mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Make sure both set-id and name match when finding rrset
This commit is contained in:
@@ -2075,9 +2075,15 @@ class TestRoute53Records(TestCase):
|
||||
candidates = [
|
||||
# Empty, will test no SetIdentifier
|
||||
{},
|
||||
# Non-matching
|
||||
{
|
||||
'SetIdentifier': 'not-a-match',
|
||||
},
|
||||
# Same set-id, different name
|
||||
{
|
||||
'Name': 'not-a-match',
|
||||
'SetIdentifier': 'x12346z',
|
||||
},
|
||||
rrset,
|
||||
]
|
||||
|
||||
@@ -2122,6 +2128,11 @@ class TestRoute53Records(TestCase):
|
||||
{
|
||||
'SetIdentifier': 'not-a-match',
|
||||
},
|
||||
# Same set-id, different name
|
||||
{
|
||||
'Name': 'not-a-match',
|
||||
'SetIdentifier': 'x12346z',
|
||||
},
|
||||
rrset,
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user