summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-020-auth_cache.py
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-05-04 15:53:48 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-05-04 15:53:48 +0200
commitc204eaaa2c9a006432fe00489a352833143db01d (patch)
tree18860f2e335b9a98d34f404d5c4b81d22f2ce222 /tests/unit/test-020-auth_cache.py
parent4a24e0cc403321713ee1201ade9d36956da1c060 (diff)
downloadpykolab-c204eaaa2c9a006432fe00489a352833143db01d.tar.gz
CS fixes according to PEP8 (ignored mostly line-length errors only)
Summary: . Reviewers: #pykolab_developers Differential Revision: https://git.kolab.org/D134
Diffstat (limited to 'tests/unit/test-020-auth_cache.py')
-rw-r--r--tests/unit/test-020-auth_cache.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unit/test-020-auth_cache.py b/tests/unit/test-020-auth_cache.py
index c4740dc..d30d403 100644
--- a/tests/unit/test-020-auth_cache.py
+++ b/tests/unit/test-020-auth_cache.py
@@ -37,12 +37,9 @@ except:
metadata = MetaData()
-##
-## Classes
-##
-
DeclarativeBase = declarative_base()
+
class Entry(DeclarativeBase):
__tablename__ = 'entries'
@@ -67,6 +64,7 @@ db = Session()
auth_cache.db = db
+
class TestAuthCache(unittest.TestCase):
def test_001_plain_insert(self):
auth_cache.set_entry(