We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9484530 commit fd2b63cCopy full SHA for fd2b63c
astroquery/tests/test_internet.py
@@ -0,0 +1,9 @@
1
+# Licensed under a 3-clause BSD style license - see LICENSE.rst
2
+from astropy.tests.helper import remote_data
3
+import requests
4
+
5
+@remote_data
6
+def test_net_connection():
7
+ R = requests.post('http://httpbin.org/post',
8
+ headers={'User-Agent':'astropy:astroquery.0.1.dev'})
9
+ R.raise_for_status()
0 commit comments