Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove old cloudprint test conf on teardown

  • Loading branch information...
commit 91e310588ccb569f18cf727d2eb382ee0419ae04 1 parent dafd791
@simoncadman authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 test_auth.py
View
6 test_auth.py
@@ -34,9 +34,11 @@ def setup_function(function):
Auth.config = '/tmp/cloudprint.conf'
-def test_setupAuth():
+
+def teardown_function(function):
os.unlink('/tmp/cloudprint.conf')
-
+
+def test_setupAuth():
# create initial file
assert os.path.exists('/tmp/cloudprint.conf') == False
assert Auth.SetupAuth(False) == False
Please sign in to comment.
Something went wrong with that request. Please try again.