From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QYk1e-0002Tr-8T for garchives@archives.gentoo.org; Mon, 20 Jun 2011 19:20:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 356A41C0FA; Mon, 20 Jun 2011 19:20:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 03C7F1C0FA for ; Mon, 20 Jun 2011 19:20:37 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D5A71B401F for ; Mon, 20 Jun 2011 19:20:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id AF4628003C for ; Mon, 20 Jun 2011 19:20:36 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1f52e33b1425eec4f65dfc61b69b84938feaac87.mgorny@gentoo> Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/library/ X-VCS-Repository: proj/pms-test-suite X-VCS-Files: PMSTestSuite/library/case.py X-VCS-Directories: PMSTestSuite/library/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1f52e33b1425eec4f65dfc61b69b84938feaac87 Date: Mon, 20 Jun 2011 19:20:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8bc9455f99c830bab98bc83a2553c08b commit: 1f52e33b1425eec4f65dfc61b69b84938feaac87 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Mon Jun 20 19:09:42 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Mon Jun 20 19:09:42 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms-test-suit= e.git;a=3Dcommit;h=3D1f52e33b Declare get_output_files() in TestCase. --- PMSTestSuite/library/case.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/PMSTestSuite/library/case.py b/PMSTestSuite/library/case.py index 4126c26..dc33e99 100644 --- a/PMSTestSuite/library/case.py +++ b/PMSTestSuite/library/case.py @@ -53,6 +53,15 @@ class TestCase(object): """ self._finalized =3D True =20 + def get_output_files(self): + """ + Get a dict of files to output in the repository for the test case. + =09 + Returns a dict with keys being filenames relative to the repository ro= ot + and associated values evaluating to a file contents (as strings). + """ + raise NotImplementedError('Please override TestCase.get_output_files()= ') + def clean(self, pm): """ Schedule cleaning the test using PackageManager instance .