from __future__ import absolute_import

import os


# setup paths to the test data
# can specify a single file or a list of files
def get_package_data():
    paths = [os.path.join('data', '*.vot'),
             os.path.join('data', '*.xml'),
             os.path.join('data', '*.pem'),
             ]  # etc, add other extensions
    # you can also enlist files individually by names
    # finally construct and return a dict for the sub module
    return {'astroquery.cadc.tests': paths}

from __future__ import absolute_import

import os


# setup paths to the test data
# can specify a single file or a list of files
def get_package_data():
    paths = [os.path.join('data', '*.vot'),
             os.path.join('data', '*.xml'),
             os.path.join('data', '*.pem'),
             os.path.join('data', '*.fits'),
             ]  # etc, add other extensions
    # you can also enlist files individually by names
    # finally construct and return a dict for the sub module
    return {'astroquery.cadc.tests': paths}

Add fits file to package build
Add fits file to package build

  from __future__ import absolute_import
  
  import os
  
  
  # setup paths to the test data
  # can specify a single file or a list of files
  def get_package_data():
      paths = [os.path.join('data', '*.vot'),
               os.path.join('data', '*.xml'),
               os.path.join('data', '*.pem'),
+              os.path.join('data', '*.fits'),
               ]  # etc, add other extensions
      # you can also enlist files individually by names
      # finally construct and return a dict for the sub module
      return {'astroquery.cadc.tests': paths}
  
Add fits file to package build
## Code Before:
from __future__ import absolute_import

import os


# setup paths to the test data
# can specify a single file or a list of files
def get_package_data():
    paths = [os.path.join('data', '*.vot'),
             os.path.join('data', '*.xml'),
             os.path.join('data', '*.pem'),
             ]  # etc, add other extensions
    # you can also enlist files individually by names
    # finally construct and return a dict for the sub module
    return {'astroquery.cadc.tests': paths}

## Instruction:
Add fits file to package build
## Code After:
from __future__ import absolute_import

import os


# setup paths to the test data
# can specify a single file or a list of files
def get_package_data():
    paths = [os.path.join('data', '*.vot'),
             os.path.join('data', '*.xml'),
             os.path.join('data', '*.pem'),
             os.path.join('data', '*.fits'),
             ]  # etc, add other extensions
    # you can also enlist files individually by names
    # finally construct and return a dict for the sub module
    return {'astroquery.cadc.tests': paths}
