From: Markus Lehtonen Date: Mon, 7 Jul 2014 13:23:10 +0000 (+0300) Subject: tests: some docstring fixes X-Git-Tag: submit/devel/20190730.075437~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=141509cbf27c861cb8a3fca0020beb9e29a47f08;p=services%2Fobs-service-git-buildpackage.git tests: some docstring fixes Change-Id: Ic9c5a537868337d57047cef0bdecd8b53d4052c9 Signed-off-by: Markus Lehtonen --- diff --git a/tests/__init__.py b/tests/__init__.py index 41bae0e..13a847b 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -98,7 +98,7 @@ class UnitTestsBase(object): self.cachedir = None def setup(self): - """Test class setup""" + """Test case setup""" # Change to a temporary directory self.tmpdir = os.path.abspath(tempfile.mkdtemp(prefix='test_', dir=self.workdir)) diff --git a/tests/test_obs_service_gbp.py b/tests/test_obs_service_gbp.py index a722284..ba84398 100644 --- a/tests/test_obs_service_gbp.py +++ b/tests/test_obs_service_gbp.py @@ -44,7 +44,7 @@ def _mock_fork_call(*args, **kwargs): class TestService(UnitTestsBase): - """Base class for unit tests""" + """Tests for the obsservice-git-buildpackage script""" s_rwx = stat.S_IREAD | stat.S_IWRITE | stat.S_IEXEC def _check_files(self, files, directory=''):