Unit test for loading valid URL
Bug #1514987 reported by
Sahdev Zala
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TOSCA Parser |
New
|
Low
|
Lakshmi Prasanna |
Bug Description
The test_utils.py method def test_load_
The failure is due to the fact that since URL gets redirected, the urllib2.
urllib2.
<addinfourl at 140144329349888 whose fp = <socket._fileobject object at 0x7f75e652f8d0>>
vs
urllib2.urlopen("http://
*** URLError: <urlopen error [Errno -2] Name or service not known>
For now the test has been modified under https:/
If we find a way to create a test with valid url, we should create a new similar test.
Changed in tosca-parser: | |
importance: | Undecided → Low |
Changed in tosca-parser: | |
assignee: | nobody → Suresh (suresh-palemoni) |
assignee: | Suresh (suresh-palemoni) → nobody |
Changed in tosca-parser: | |
assignee: | nobody → Lakshmi Prasanna (lakshmiprasanna-m) |
To post a comment you must log in.