2
# -*- coding: utf-8 -*-
4
# ******************************************************************************
6
# Copyright (C) 2006-2007 Olivier Tilloy <olivier@tilloy.net>
8
# This file is part of the pyexiv2 distribution.
10
# pyexiv2 is free software; you can redistribute it and/or
11
# modify it under the terms of the GNU General Public License
12
# as published by the Free Software Foundation; either version 2
13
# of the License, or (at your option) any later version.
15
# pyexiv2 is distributed in the hope that it will be useful,
16
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
# GNU General Public License for more details.
20
# You should have received a copy of the GNU General Public License
21
# along with pyexiv2; if not, write to the Free Software
22
# Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
25
# File: TestsRunner.py
26
# Author(s): Olivier Tilloy <olivier@tilloy.net>
28
# ******************************************************************************
33
from RationalTestCase import RationalTestCase
34
from ReadMetadataTestCase import ReadMetadataTestCase
36
if __name__ == '__main__':
37
# Instantiate a test suite containing all the test cases
38
suite = unittest.TestSuite()
39
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(RationalTestCase))
40
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(ReadMetadataTestCase))
42
unittest.TextTestRunner(verbosity=2).run(suite)