File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,11 +214,11 @@ def test_variable_deprecation():
214214 from pyvo .dal .sia2 import SIA_PARAMETERS_DESC
215215 assert SIA_PARAMETERS_DESC
216216
217+
217218def test_none_standardid_capability ():
218219 """Test that SIA2Service handles capabilities with None standardID."""
219220 from pyvo .dal .sia2 import SIA2Service
220221 import requests_mock
221-
222222 # Mock a capabilities response with a None standardID
223223 with requests_mock .Mocker () as m :
224224 # Mock the capabilities endpoint
@@ -237,10 +237,8 @@ def test_none_standardid_capability():
237237 </interface>
238238 </capability>
239239</vosi:capabilities>''' )
240-
241240 # This should not raise an AttributeError
242241 sia2_service = SIA2Service ('http://example.com/sia' )
243-
244242 # Basic verification that the service was created successfully
245243 assert sia2_service is not None
246- assert sia2_service .query_ep is not None
244+ assert sia2_service .query_ep is not None
You can’t perform that action at this time.
0 commit comments