Browse Source

Add module to test suite

oz123 10 years ago
parent
commit
3aacdd2dd5
2 changed files with 3 additions and 3 deletions
  1. 1 1
      .coveragerc
  2. 2 2
      pwman/exchange/importer.py

+ 1 - 1
.coveragerc

@@ -2,6 +2,6 @@
 omit = pwman/tests/*.py, pwman/ui/mac.py, pwman/ui/win.py, \
        pwman/data/convertdb.py, pwman/data/nodes_multiple_approach.py, \
        pwman/data/models.py, pwman/data/drivers/postgresql.py, \
-       pwman/data/drivers/mysql.py, pwman/exchange/importer.py, pwman/ui/base.py,
+       pwman/data/drivers/mysql.py, pwman/ui/base.py,
        pwman/util/crypto.py 
 source = pwman

+ 2 - 2
pwman/exchange/importer.py

@@ -25,7 +25,7 @@ from pwman.util.crypto_engine import CryptoEngine
 from pwman.ui.tools import CLICallback
 
 
-class BaseImporter(object):
+class BaseImporter(object):  # pragma: no cover
 
     """
     The base class which defines the action needed to import data
@@ -102,5 +102,5 @@ class Importer(object):
     def __init__(self,  args, invoke=CSVImporter):
         self.importer = invoke(*args)
 
-    def run(self):
+    def run(self):  # pragma: no cover
         self.importer.run()