X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_interrupter.py;h=636c03e477554b019a5f70ded696a04dc28bd7dc;hb=f5567ea88d172767b34373bc6e402da8bfd85ef8;hp=5c11f031dfe1921a20d34595cebb704b3e69b08f;hpb=1e92035335352f8a67cbc3de28a0ad44b7ee02a1;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_interrupter.py b/tests/bindings/python/bt2/test_interrupter.py index 5c11f031..636c03e4 100644 --- a/tests/bindings/python/bt2/test_interrupter.py +++ b/tests/bindings/python/bt2/test_interrupter.py @@ -1,20 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 EfficiOS Inc. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; only version 2 -# of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# import bt2 import unittest @@ -45,3 +32,7 @@ class InterrupterTestCase(unittest.TestCase): self.assertTrue(self._interrupter) self._interrupter.reset() self.assertFalse(self._interrupter) + + +if __name__ == "__main__": + unittest.main()