Fix web-download bad URL test for sync URI validation

Glance can now return HTTP 400 when the web-download URI fails checks
up front. The test used to expect 202 and a later failed import.
Accept 400 when the error mentions the bad host or filtering, and
keep the old wait-for-failed-import path when Glance still returns 202.

Related-Bug: #2138602
Change-Id: I1ec58edd6029fbc8e667e008f5017c71d70cc09f
Signed-off-by: Abhishek Kekane <akekane@redhat.com>
1 file changed