# Path: nansat/tests/nansat_test_data.py



import os
import sys
import unittest
import tempfile
import pythesint
from mock import patch, PropertyMock, Mock, MagicMock, DEFAULT
from nansat.tests import nansat_test_data as ntd
# ------------------------------------------------------------------------------
# Name:         nansat_test_base.py
# Purpose:      Basic class for Nansat tests
#
# Author:       Anton Korosov
#
# Created:      20.03.2018
# Copyright:    (c) NERSC
# Licence:      This file is part of NANSAT. You can redistribute it or modify
#               under the terms of GNU General Public License, v.3
#               http://www.gnu.org/licenses/gpl-3.0.html
# ------------------------------------------------------------------------------
from __future__ import print_function, absolute_import, division




class NansatTestBase(unittest.TestCase):

    def setUp(self):
        self.test_file_gcps = os.path.join(ntd.test_data_path, 'gcps.tif')
        self.test_file_stere = os.path.join(ntd.test_data_path, 'stere.tif')
        self.test_file_complex = os.path.join(ntd.test_data_path, 'complex.nc')
        self.test_file_arctic = os.path.join(ntd.test_data_path, 'arctic.nc')

# Path: nansat/tests/nansat_test_data.py



# Path: nansat/tests/nansat_test_base.py
import os
import sys
import unittest
import tempfile
import pythesint
from mock import patch, PropertyMock, Mock, MagicMock, DEFAULT
from nansat.tests import nansat_test_data as ntd

# ------------------------------------------------------------------------------
# Name:         nansat_test_base.py
# Purpose:      Basic class for Nansat tests
#
# Author:       Anton Korosov
#
# Created:      20.03.2018
# Copyright:    (c) NERSC
# Licence:      This file is part of NANSAT. You can redistribute it or modify
#               under the terms of GNU General Public License, v.3
#               http://www.gnu.org/licenses/gpl-3.0.html
# ------------------------------------------------------------------------------
from __future__ import print_function, absolute_import, division




class NansatTestBase(unittest.TestCase):

    def setUp(self):
        self.test_file_gcps = os.path.join(ntd.test_data_path, 'gcps.tif')
        self.test_file_stere = os.path.join(ntd.test_data_path, 'stere.tif')
        self.test_file_complex = os.path.join(ntd.test_data_path, 'complex.nc')
        self.test_file_arctic = os.path.join(ntd.test_data_path, 'arctic.nc')

        self.tmp_data_path = ntd.tmp_data_path