Skip to content

Commit 3089722

Browse files
author
Dave Foster
committed
Revert "WQX web service response changed, tests updated"
This reverts commit c1e2ba0.
1 parent 9d91f4a commit 3089722

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

tests/collectors/test_wqp.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ def setUp(self):
1414
def test_wqp_sites_metadata(self):
1515
"""
1616
<WQX xmlns="http://qwwebservices.usgs.gov/schemas/WQX-Outbound/2_0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://qwwebservices.usgs.gov/schemas/WQX-Outbound/2_0/ http://qwwebservices.usgs.gov/schemas/WQX-Outbound/2_0/index.xsd">
17-
<Organization>
18-
<OrganizationDescription>
19-
<OrganizationIdentifier>ARS</OrganizationIdentifier>
20-
<OrganizationFormalName>Agricultural Research Service</OrganizationFormalName>
21-
</OrganizationDescription>
22-
</Organization>
2317
<Organization>
2418
<OrganizationDescription>
2519
<OrganizationIdentifier>21IOWA</OrganizationIdentifier>
@@ -56,7 +50,7 @@ def test_wqp_sites_metadata(self):
5650
self.c.filter(features=["21IOWA-10070005"])
5751
meta, data = self.c.raw()
5852

59-
org = WqxOutbound(meta).organizations[1]
53+
org = WqxOutbound(meta).organizations[0]
6054

6155
# OrganizationDescription
6256
assert org.description.name == u"Iowa Dept. of Natural Resources"
@@ -82,7 +76,7 @@ def test_wqp_results_metadata(self):
8276
meta, data = self.c.raw()
8377

8478
# OrganizationDescription
85-
org = WqxOutbound(data).organizations[1]
79+
org = WqxOutbound(data).organizations[0]
8680
assert org.description.name == u"Iowa Dept. of Natural Resources"
8781
assert org.description.id == u"21IOWA"
8882

0 commit comments

Comments
 (0)