[lxc-devel] [pylxd/master] Add coverage exclusions

rockstar on Github lxc-bot at linuxcontainers.org
Tue May 31 04:46:25 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 616 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160531/94729278/attachment.bin>
-------------- next part --------------
From 4461bdb9824499ad5617cc5f549c62a91afb36c3 Mon Sep 17 00:00:00 2001
From: Paul Hummer <paul at eventuallyanyway.com>
Date: Mon, 30 May 2016 22:42:35 -0600
Subject: [PATCH] Add coverage exclusions

---
 .coveragerc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.coveragerc b/.coveragerc
index dedcde7..fb86455 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -6,3 +6,6 @@ source = pylxd
 omit =
     pylxd/tests/*
     pylxd/deprecated/*
+exclude_lines =
+    def __str__
+    pragma: no cover


More information about the lxc-devel mailing list