mirror of
				https://github.com/github/octodns.git
				synced 2024-05-11 05:55:00 +00:00 
			
		
		
		
	check for identical monitor and skip creating one if found
This commit is contained in:
		@@ -1332,6 +1332,10 @@ class TestNs1ProviderDynamic(TestCase):
 | 
			
		||||
        # This indirectly calls into _params_for_dynamic and tests the
 | 
			
		||||
        # handling to get there
 | 
			
		||||
        record = self.record()
 | 
			
		||||
        # copy an existing answer from a different pool to 'lhr' so
 | 
			
		||||
        # in order to test answer repetition across pools (monitor reuse)
 | 
			
		||||
        record.dynamic._data()['pools']['lhr']['values'].append(
 | 
			
		||||
            record.dynamic._data()['pools']['iad']['values'][0])
 | 
			
		||||
        ret, _ = provider._params_for_A(record)
 | 
			
		||||
 | 
			
		||||
        # Given that record has both country and region in the rules,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user