From d84531e64942d8726f869d6ed93ce9c41a10e66a Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 20 Sep 2013 14:48:28 +0300 Subject: [PATCH] tests: do not mark the entry point as static Remove the @staticmethod decorator, because old unittest module on Centos6 does not recognize static entry points and does not execute tests. Change-Id: I6d490396fb79a9b43bc7d39328b1e5eacff0446b Signed-off-by: Artem Bityutskiy --- tests/test_api_base.py | 3 +-- tests/test_fiemap.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_api_base.py b/tests/test_api_base.py index 34a745a..ca10488 100644 --- a/tests/test_api_base.py +++ b/tests/test_api_base.py @@ -293,8 +293,7 @@ class TestCreateCopy(unittest.TestCase): function for different sparse files. """ - @staticmethod - def test(): + def test(self): """ The test entry point. Executes the '_do_test()' function for files of different sizes, holes distribution and format. diff --git a/tests/test_fiemap.py b/tests/test_fiemap.py index e9c0a15..47fe0fe 100644 --- a/tests/test_fiemap.py +++ b/tests/test_fiemap.py @@ -110,8 +110,7 @@ class TestCreateCopy(unittest.TestCase): function for different sparse files. """ - @staticmethod - def test(): + def test(self): """ The test entry point. Executes the '_do_test()' function for files of different sizes, holes distribution and format. -- 2.34.1