tests: some docstring fixes
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 7 Jul 2014 13:23:10 +0000 (16:23 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 10 Jul 2014 07:37:29 +0000 (10:37 +0300)
Change-Id: Ic9c5a537868337d57047cef0bdecd8b53d4052c9
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
tests/__init__.py
tests/test_obs_service_gbp.py

index 41bae0ee683c51682486081b80c10bb1089bd686..13a847b390459bb74434a934aaeacc7b2a9d3cc4 100644 (file)
@@ -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))
index a7222842649ccc53e7355d1191e4ca729f2dcfcd..ba8439847aaee0c1b5232e47a4d0c7e37b0077b2 100644 (file)
@@ -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=''):