15 Commits

Author SHA1 Message Date
Paul Glass
47fc8f58c3 Functional tests for MX, TXT, SPF, SSHFP validation
* Test trailing slashes in SPF, TXT recordsets
* Test negative values in MX, SSHFP records
* Move recordset validation tests to a new module

Change-Id: I3f3ee09df45ddbefda66591c1937d733eaaf5ef3
2016-02-10 23:55:10 +00:00
Paul Glass
d0676765ae Change the name of the test_create_wildcard_NS test
Change-Id: I243ef9fbd494113f8cedd7817eecce3f822fccb8
2016-02-08 14:05:02 -06:00
James Li
fe3f7df4df Fix wildcard NS record
BIND does not allow a NS record having a wildcard name,
e.g. *.example.com.

Change-Id: I358d26a10129305bcfef91f5577c1f6ae08701d2
Closes-Bug: #1533299
2016-01-29 22:23:40 +00:00
Jenkins
6232567f8d Merge "Add functional tests for TLDs" 2015-11-09 18:54:23 +00:00
Bertrand Lallau
63d1b2a590 Fix argument order in assertEqual to (expect, obs)
assertEqual expects that the arguments provided to it should be
(expected, observed). If a particular order is kept as a convention,
then it helps to provide a cleaner message to the developer if Unit Tests
fail. There are several Unit Test files where the arguments for assertEqual
have been swapped.

Change-Id: I6fdedcde67f76883257d35d1b812ab8a0e3e0733
Related-Bug: #1259292
2015-11-05 21:39:38 +01:00
Endre Karlson
5813493932 Add functional tests for TLDs
Change-Id: Ic5c25f40cf19d0f1915f89698468090bf6eb743b
2015-10-13 15:06:53 +00:00
Paul Glass
4097be456b A functional test to check CNAME recordsets allow only 1 record
Change-Id: Ifa7232d858a20db05cd03e949fbd3c4e891a6afb
2015-09-18 20:54:58 +00:00
Paul Glass
3c8e0d7891 Cleanup data created in the functional tests
Change-Id: I773d56662adc24322ce0ab0fa26fb62c9624d36f
2015-09-11 20:17:07 +00:00
Paul Glass
f27e662cbe Add functional tests that query for wildcard records
Change-Id: I61131b4b60562b7cd0812e8f542f587165e04380
2015-08-28 14:17:13 +00:00
Paul Glass
31d8145762 Add functional tests for wildcard records
Change-Id: I45b65b7f842e2bc5dc3a8bf2129b1b647ffd5cfa
2015-08-13 11:59:48 +00:00
Endre Karlson
48435d84ae Verify DNS changes when updating RRSet
Change-Id: Ic4379b95cdc2fa9d62cfe0394ff7329533f38374
2015-08-11 09:52:17 +02:00
Endre Karlson
bc9266a63f Increase coverage of RRset tests
This expand the rrset coverage to include *allmost* all supported types o RTypes.

Change-Id: Idc5363682893804cb7f6330d3a317c46e00d7b0f
2015-07-09 10:55:40 +02:00
Paul Glass
99ba4ababb Functional tests to check recordset ownership
Change-Id: I7a41b02ea56cbfa77fec4d248c8f6e6017b8ecd9
2015-04-22 17:05:40 +00:00
Paul Glass
b82b3c03d9 Zone ownership tests
* There are three tenants: default, alt, and admin
* Updated config to grab creds for each tenant type
* Reworked clients to make tenant selection simple within test cases
* Added zone ownership test cases
* A bit of other refactoring to put code in more sensible places

Change-Id: I5330b2b1f81ac896300f199b341775594ab14073
2015-04-22 16:28:11 +00:00
Paul Glass
c10c853d2b First Tempest tests for recordsets
* Added decorators for parameterized tests
* Added models/clients for recordsets
* Move v2 specific clients into DesignateV2Test base class
* Added data generation for A, AAAA, CNAME, and MX recordsets
* Added test cases that do CRUD on A, AAAA, CNAME, and MX recordsets

Change-Id: I7755167b707ca66f8f2a3362579e3e976b4aa315
2015-04-03 16:21:20 +00:00