From: Artem Bityutskiy Date: Fri, 20 Sep 2013 11:48:28 +0000 (+0300) Subject: tests: do not mark the entry point as static X-Git-Tag: v3.0~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d84531e64942d8726f869d6ed93ce9c41a10e66a;p=tools%2Fbmap-tools.git 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 --- 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.