public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Devan Franchini" <twitch153@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/layman:master commit in: layman/tests/
Date: Wed,  3 Dec 2014 19:08:51 +0000 (UTC)	[thread overview]
Message-ID: <1417323407.ad249e2fb0bf3a4ba3265e2f7f4d3cf3c34ab41b.twitch153@gentoo> (raw)

commit:     ad249e2fb0bf3a4ba3265e2f7f4d3cf3c34ab41b
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 30 04:56:47 2014 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 04:56:47 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=ad249e2f

external.py: Improves CLIArgs testing for a["overlays"]

---
 layman/tests/external.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/layman/tests/external.py b/layman/tests/external.py
index 45b4d39..70d5b62 100755
--- a/layman/tests/external.py
+++ b/layman/tests/external.py
@@ -239,8 +239,8 @@ class CLIArgs(unittest.TestCase):
 
         # Test the passed in cli opts on the ArgsParser class:
         a = ArgsParser()
-        test_url = '\n\nhttps://api.gentoo.org/overlays/repositories.xml'
-        self.assertEqual(a['overlays'], test_url)
+        test_url = 'https://api.gentoo.org/overlays/repositories.xml'
+        self.assertTrue(test_url in a['overlays'].split('\n'))
         test_keys = ['auto_sync', 'bzr_addopts', 'bzr_command', 'bzr_postsync',
                      'bzr_syncopts', 'cache', 'clean_tar', 'conf_module',
                      'conf_type', 'config', 'configdir', 'custom_news_pkg',


             reply	other threads:[~2014-12-03 19:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03 19:08 Devan Franchini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-24 20:59 [gentoo-commits] proj/layman:master commit in: layman/tests/ Brian Dolbec
2015-07-14 13:31 Devan Franchini
2015-07-14 13:31 Devan Franchini
2015-07-09 17:19 Devan Franchini
2015-07-09 16:18 Devan Franchini
2015-06-16  1:30 Devan Franchini
2015-03-27 22:03 Devan Franchini
2015-03-27 21:38 Devan Franchini
2015-03-27 20:50 Devan Franchini
2014-12-03 19:08 Devan Franchini
2014-12-03 19:08 Devan Franchini
2014-12-03 19:08 Devan Franchini
2014-12-03 19:08 Devan Franchini
2014-12-03 19:08 Devan Franchini
2014-11-02  3:15 Devan Franchini
2014-06-16  3:37 [gentoo-commits] proj/layman:gsoc2014 " Brian Dolbec
2014-06-16  3:40 ` [gentoo-commits] proj/layman:master " Brian Dolbec

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=1417323407.ad249e2fb0bf3a4ba3265e2f7f4d3cf3c34ab41b.twitch153@gentoo \
    --to=twitch153@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