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: <1417316256.b61bee7bf4658940147cba1d7ed0dfbeb1a49696.twitch153@gentoo> (raw)
commit: b61bee7bf4658940147cba1d7ed0dfbeb1a49696
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 30 02:57:32 2014 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 02:57:36 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=b61bee7b
external.py: Adds archive overlay test checking
A test has been added to ensure we only test the archive overlay
types that the user has installed on their system.
---
layman/tests/external.py | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/layman/tests/external.py b/layman/tests/external.py
index 1aceca6..64f48d2 100755
--- a/layman/tests/external.py
+++ b/layman/tests/external.py
@@ -194,7 +194,16 @@ class ArchiveAddRemoveSync(unittest.TestCase):
def test(self):
- for archive in ('squashfs', 'tar'):
+ archives = []
+ try:
+ from layman.overlays.modules.tar.tar import TarOverlay
+ archives.append('tar')
+ from layman.overlays.modules.squashfs.squashfs import SquashfsOverlay
+ archives.append('squashfs')
+ except ImportError:
+ pass
+
+ for archive in archives:
xml_text, repo_name, temp_archive_path = getattr(self,
"_create_%(archive)s_overlay" %
{'archive': archive})()
next 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=1417316256.b61bee7bf4658940147cba1d7ed0dfbeb1a49696.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