Browse Source

added argparse to requirements for python 2.6 and removed fuse from coverage

Daniel Roesler 9 years ago
parent
commit
e6cad5f0f6
3 changed files with 3 additions and 3 deletions
  1. 0 1
      acme_tiny.py
  2. 2 2
      tests/monkey.py
  3. 1 0
      tests/requirements.txt

+ 0 - 1
acme_tiny.py

@@ -121,7 +121,6 @@ def get_crt(account_key, csr, acme_dir, log=LOGGER, CA=DEFAULT_CA):
             resp_data = resp.read().decode('utf8').strip()
             assert resp_data == keyauthorization
         except (IOError, AssertionError):
-            print("resp_data", resp_data)
             os.remove(wellknown_path)
             raise ValueError("Wrote file to {0}, but couldn't download {1}".format(
                 wellknown_path, wellknown_url))

+ 2 - 2
tests/monkey.py

@@ -29,7 +29,7 @@ def gen_keys():
 
 # fake a folder structure to catch the key authorization file
 FS = {}
-class Passthrough(LoggingMixIn, Operations):
+class Passthrough(LoggingMixIn, Operations): # pragma: no cover
     def getattr(self, path, fh=None):
         f = FS.get(path, None)
         if f is None:
@@ -49,5 +49,5 @@ class Passthrough(LoggingMixIn, Operations):
         del(FS[path])
         return 0
 
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
     FUSE(Passthrough(), sys.argv[1], nothreads=True, foreground=True)

+ 1 - 0
tests/requirements.txt

@@ -1,2 +1,3 @@
 coveralls
 fusepy
+argparse