Skip to content

Commit

Permalink
Merge pull request #32 from golnazads/master
Browse files Browse the repository at this point in the history
changed CXO data type to Chandra per Edwin
  • Loading branch information
golnazads committed Mar 26, 2019
2 parents 08f4b25 + ffe8de0 commit 52b8bcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resolversrv/tests/unittests/test_resolver_service.py
Expand Up @@ -58,9 +58,9 @@ def test_linkTypeData(self):
self.assertEqual(link_request.link_type, 'DATA')
self.assertEqual(link_request.link_sub_type, None)
def test_linkSubTypeData(self):
link_request = LinkRequest('2013MNRAS.435.1904M', 'CXO', self.current_app.config['RESOLVER_GATEWAY_URL_TEST'])
link_request = LinkRequest('2013MNRAS.435.1904M', 'Chandra', self.current_app.config['RESOLVER_GATEWAY_URL_TEST'])
self.assertEqual(link_request.link_type, 'DATA')
self.assertEqual(link_request.link_sub_type, 'CXO')
self.assertEqual(link_request.link_sub_type, 'Chandra')
def test_linkSubTypeESOURCE(self):
link_request = LinkRequest('1668RSPT....3..863M', 'PUB_HTML', self.current_app.config['RESOLVER_GATEWAY_URL_TEST'])
self.assertEqual(link_request.link_type, 'ESOURCE')
Expand Down
2 changes: 1 addition & 1 deletion resolversrv/views.py
Expand Up @@ -66,7 +66,7 @@ def __init_default(self):
# data sub types
self.data = [
'ARI', 'SIMBAD', 'NED', 'CDS', 'Vizier', 'GCPD', 'Author', 'PDG', 'MAST', 'HEASARC', 'INES', 'IBVS',
'Astroverse', 'ESA', 'NExScI', 'PDS', 'AcA', 'ISO', 'ESO', 'CXO', 'NOAO', 'XMM', 'Spitzer', 'PASA',
'Astroverse', 'ESA', 'NExScI', 'PDS', 'AcA', 'ISO', 'ESO', 'Chandra', 'NOAO', 'XMM', 'Spitzer', 'PASA',
'ATNF', 'KOA', 'Herschel', 'GTC', 'BICEP2', 'ALMA', 'CADC', 'Zenodo', 'TNS'
]

Expand Down

0 comments on commit 52b8bcb

Please sign in to comment.