DoebuildFdPipesTestCase: fix docstring
authorZac Medico <zmedico@gentoo.org>
Sun, 7 Jul 2013 02:48:38 +0000 (19:48 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 7 Jul 2013 02:48:38 +0000 (19:48 -0700)
pym/portage/tests/ebuild/test_doebuild_fd_pipes.py

index 1a5177003229348b304d6c9b035a59d191852c9f..ddd73e2babac2494d0d5a1582f98a878e3f38b16 100644 (file)
@@ -22,14 +22,14 @@ class DoebuildProcess(ForkProcess):
                return portage.doebuild(*self.doebuild_pargs, **self.doebuild_kwargs)
 
 class DoebuildFdPipesTestCase(TestCase):
-       """
-       Invoke portage.package.ebuild.doebuild.spawn() with a
-       minimal environment. This gives coverage to some of
-       the ebuild execution internals, like ebuild.sh,
-       AbstractEbuildProcess, and EbuildIpcDaemon.
-       """
 
        def testDoebuild(self):
+               """
+               Invoke portage.doebuild() with the fd_pipes parameter, and
+               check that the expected output appears in the pipe. This
+               functionality is not used by portage internally, but it is
+               supported for API consumers (see bug #475812).
+               """
 
                ebuild_body = textwrap.dedent("""
                        S=${WORKDIR}