summaryrefslogtreecommitdiffstats
path: root/custodia
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2015-07-08 11:12:25 +0200
committerSimo Sorce <simo@redhat.com>2015-07-08 06:25:06 -0400
commit3b135033f4d70c59a9b6880c13b38238ff593081 (patch)
treec8588fbd4d9abfd41ec7fafe7e5230612fb15f09 /custodia
parentc4e6d1ffdd348b7a78ea7da6f8af774c4ce0b3c4 (diff)
downloadcustodia-3b135033f4d70c59a9b6880c13b38238ff593081.tar.gz
custodia-3b135033f4d70c59a9b6880c13b38238ff593081.tar.xz
custodia-3b135033f4d70c59a9b6880c13b38238ff593081.zip
Fix typos in tests and add cleanup
The patch fixes to typos in the tear down function of two test suites. The tests now cleanup and remove temporary files like Unix socket and test databases. Reviewed-by: Simo Sorce <simo@redhat.com> Closes: #3
Diffstat (limited to 'custodia')
-rw-r--r--custodia/message/kem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/custodia/message/kem.py b/custodia/message/kem.py
index a47a689..4f2d70d 100644
--- a/custodia/message/kem.py
+++ b/custodia/message/kem.py
@@ -340,7 +340,7 @@ class KEMTests(unittest.TestCase):
_store_keys(cls.kk.store, KEY_USAGE_ENC, cls.client_keys)
@classmethod
- def AtearDownClass(self):
+ def tearDownClass(self):
try:
os.unlink('kemtests.db')
except OSError: