API test domain replacement

Bug #1496446 reported by Tony Tan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppy
Invalid
Undecided
Unassigned

Bug Description

Currently, test_services.py replace the domains in domains_list withe random domain prefixes to avoid 400 (due to the domain has been claimed). However this will affect some test against domain's validity, especially negative tests.

Suggested solution:

add an extra flag field, change_domain : true/false, if it is false then don't change the domains. Those domains will be unique so 400 should not be an issue.

Tony Tan (tonytan4ever)
Changed in poppy:
status: New → Incomplete
Sriram (thesriram)
Changed in poppy:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.