public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Paul Varner" <fuzzyray@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/test/
Date: Tue, 13 Nov 2012 20:41:00 +0000 (UTC)	[thread overview]
Message-ID: <1352690550.a58955f2429e83d1f290571ced555275993eecdb.fuzzyray@gentoo> (raw)

commit:     a58955f2429e83d1f290571ced555275993eecdb
Author:     W. Trevor King <wking <AT> tremily <DOT> us>
AuthorDate: Mon Nov 12 03:09:37 2012 +0000
Commit:     Paul Varner <fuzzyray <AT> gentoo <DOT> org>
CommitDate: Mon Nov 12 03:22:30 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=a58955f2

test_helpers: fix test_main and mark so nosetests will ignore it

---
 pym/gentoolkit/test/test_helpers.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pym/gentoolkit/test/test_helpers.py b/pym/gentoolkit/test/test_helpers.py
index 5bafaae..24aeedf 100644
--- a/pym/gentoolkit/test/test_helpers.py
+++ b/pym/gentoolkit/test/test_helpers.py
@@ -115,7 +115,11 @@ class TestFileOwner(unittest.TestCase):
 
 
 def test_main():
-	test_support.run_unittest(TestGentoolkitHelpers2)
+	suite = unittest.TestLoader()
+	suite.loadTestsFromTestCase(TestChangeLog)
+	suite.loadTestsFromTestCase(TestFileOwner)
+	unittest.TextTestRunner(verbosity=2).run(suite)
+test_main.__test__ = False
 
 
 if __name__ == '__main__':


             reply	other threads:[~2012-11-13 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 20:41 Paul Varner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-13 20:41 [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/test/ Paul Varner
2012-11-13 20:41 Paul Varner
2012-11-13 20:41 Paul Varner
2012-11-13 20:41 Paul Varner
2012-11-13 20:41 Paul Varner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1352690550.a58955f2429e83d1f290571ced555275993eecdb.fuzzyray@gentoo \
    --to=fuzzyray@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox