new_contents: # Licensed under a 3-clause BSD style license - see LICENSE.rst
  from __future__ import print_function
  import pytest
  import astropy.coordinates as coord
  from astropy.tests.helper import remote_data
  from ... import fermi
  
  # the delayed queries take too long
  SKIP_SLOW=True
  
  FK5_COORDINATES = coord.SkyCoord(10.68471, 41.26875, unit=('deg', 'deg'))
  
  
  @remote_data
  def test_FermiLAT_query_async():
      result = fermi.core.FermiLAT.query_object_async(
          FK5_COORDINATES, energyrange_MeV='1000, 100000',
          obsdates='2013-01-01 00:00:00, 2013-01-02 00:00:00')
      assert 'https://fermi.gsfc.nasa.gov/cgi-bin/ssc/LAT/QueryResults.cgi?' in result
  
  
  @pytest.mark.skipif("SKIP_SLOW")
  def test_FermiLAT_query():
      # Make a query that results in small SC and PH file sizes
      result = fermi.core.FermiLAT.query_object(
          FK5_COORDINATES, energyrange_MeV='1000, 100000',
          obsdates='2013-01-01 00:00:00, 2013-01-02 00:00:00')
      assert 'https://fermi.gsfc.nasa.gov/cgi-bin/ssc/LAT/QueryResults.cgi?' in result
  
  
  @remote_data
  @pytest.mark.skipif("SKIP_SLOW")
  def test_FermiLAT_DelayedQuery():
      result = fermi.core.FermiLAT.query_object(
          FK5_COORDINATES, energyrange_MeV='1000, 100000',
          obsdates='2013-01-01 00:00:00, 2013-01-02 00:00:00')
      assert 'https://fermi.gsfc.nasa.gov/cgi-bin/ssc/LAT/QueryResults.cgi?' in result
      query = fermi.FermiLAT_DelayedQuery(result)
  
subject: add fermi remote tests