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 8f51f21 commit 6ec71ceCopy full SHA for 6ec71ce
astroquery/gaia/tests/test_gaiatap.py
@@ -14,7 +14,6 @@
14
15
16
"""
17
-import unittest
18
import os
19
from unittest.mock import patch
20
@@ -40,7 +39,7 @@ def data_path(filename):
40
39
return os.path.join(data_dir, filename)
41
42
43
-class TestTap(unittest.TestCase):
+class TestTap():
44
45
def test_query_object(self):
46
conn_handler = DummyConnHandler()
@@ -609,8 +608,3 @@ def test_logout(self, mock_logout):
609
608
mock_logout.side_effect = HTTPError("Login error")
610
tap.logout()
611
assert (mock_logout.call_count == 3)
612
-
613
614
-if __name__ == "__main__":
615
- # import sys;sys.argv = ['', 'Test.testName']
616
- unittest.main()
0 commit comments