public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/ebuild/
Date: Tue, 25 Oct 2011 16:41:39 +0000 (UTC)	[thread overview]
Message-ID: <0229926ec76333b5a197e5fba3beffe7691688b3.zmedico@gentoo> (raw)

commit:     0229926ec76333b5a197e5fba3beffe7691688b3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 16:41:15 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 16:41:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0229926e

test_config: test PORTDIR default masters

---
 pym/portage/tests/ebuild/test_config.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/pym/portage/tests/ebuild/test_config.py b/pym/portage/tests/ebuild/test_config.py
index 6eb1361..ea64192 100644
--- a/pym/portage/tests/ebuild/test_config.py
+++ b/pym/portage/tests/ebuild/test_config.py
@@ -238,6 +238,11 @@ class ConfigTestCase(TestCase):
 		playground = ResolverPlayground(ebuilds=ebuilds,
 			repo_configs=repo_configs, distfiles=distfiles)
 
+		new_repo_config = playground.settings.repositories.prepos['new_repo']
+		self.assertTrue(len(new_repo_config.masters) > 0, "new_repo has no default master")
+		self.assertEqual(new_repo_config.masters[0].user_location, playground.portdir,
+			"new_repo default master is not PORTDIR")
+
 		new_manifest_file = os.path.join(playground.repo_dirs["new_repo"], "dev-libs", "A", "Manifest")
 		self.assertEqual(os.path.exists(new_manifest_file), False)
 



             reply	other threads:[~2011-10-25 16:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25 16:41 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-17  2:55 [gentoo-commits] proj/portage:master commit in: pym/portage/tests/ebuild/ Zac Medico
2013-07-25 20:42 Zac Medico
2013-07-07 20:25 Zac Medico
2013-07-07 20:23 Zac Medico
2013-07-07  2:48 Zac Medico
2013-01-11  7:22 Zac Medico
2012-10-08 16:09 Zac Medico
2012-10-08 15:09 Zac Medico
2012-10-05  4:08 Zac Medico
2012-09-26 18:22 Zac Medico
2012-07-05  0:38 Zac Medico
2012-02-09  0:46 Zac Medico
2012-01-13  2:46 Zac Medico
2011-12-16  3:23 Zac Medico
2011-10-04  6:18 Zac Medico
2011-09-15  2:55 Zac Medico
2011-09-04 19:06 Zac Medico
2011-06-09 10:59 Zac Medico

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=0229926ec76333b5a197e5fba3beffe7691688b3.zmedico@gentoo \
    --to=zmedico@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