updating _get_txt_records return values and docstrings

This commit is contained in:
csine-nflx
2020-04-05 21:46:33 -07:00
parent 6f3ba23fa0
commit f82ec24dfa
2 changed files with 18 additions and 8 deletions

View File

@ -165,7 +165,7 @@ class TestPowerdns(unittest.TestCase):
"function": "delete_txt_record",
"fqdn": domain,
"token": token,
"message": "Unable to delete TXT record: TXT record not found"
"message": "Unable to delete TXT record: Token not found in existing TXT records"
}
powerdns.delete_txt_record(change_id, account_number, domain, token)
mock_current_app.logger.debug.assert_called_with(log_data)