Commit f688fd4a5eb1cfcfaca4bb9cbacb474fe1bf8604

Authored by Jürgen Knödlseder
1 parent 823cd196

Remove old test scripts

cscripts/tests/__init__.py deleted
1   -"""
2   -Tests that can be run for an installed cscripts package.
3   -"""
cscripts/tests/scripts.py deleted
1   -# ==========================================================================
2   -# This script tests the cscripts.
3   -#
4   -# Copyright (C) 2015 Juergen Knoedlseder
5   -#
6   -# This program is free software: you can redistribute it and/or modify
7   -# it under the terms of the GNU General Public License as published by
8   -# the Free Software Foundation, either version 3 of the License, or
9   -# (at your option) any later version.
10   -#
11   -# This program is distributed in the hope that it will be useful,
12   -# but WITHOUT ANY WARRANTY; without even the implied warranty of
13   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14   -# GNU General Public License for more details.
15   -#
16   -# You should have received a copy of the GNU General Public License
17   -# along with this program. If not, see <http://www.gnu.org/licenses/>.
18   -#
19   -# ==========================================================================
20   -import os
21   -from tempfile import mkdtemp
22   -import unittest
23   -
24   -
25   -# ================== #
26   -# Analysis pipelines #
27   -# ================== #
28   -class scripts(unittest.TestCase):
29   - """
30   - Test the cscripts.
31   - """
32   - # Setup of test class
33   - def setUp(self):
34   - gammalib_dir = os.environ['GAMMALIB']
35   - self.model_name = os.path.join(gammalib_dir, "share/models/crab.xml")
36   - self.workdir = mkdtemp()
37   -
38   - # Test cscaldb
39   - def test_cscaldb(self):
40   - """
41   - Test cscaldb.
42   - """
43   - # Test cscaldb
44   - #caldb = cscaldb()
45   - #caldb["debug"] = True
46   - #caldb.execute()
47   -
48   - # TODO: add asserts
49   - assert True