diff options
-rw-r--r-- | qvisqve/auth_router.py | 3 | ||||
-rw-r--r-- | qvisqve/authn_entity_manager.py | 2 | ||||
-rw-r--r-- | qvisqve/entity_manager.py | 5 | ||||
-rw-r--r-- | qvisqve/entity_manager_tests.py | 6 |
4 files changed, 3 insertions, 13 deletions
diff --git a/qvisqve/auth_router.py b/qvisqve/auth_router.py index 378a995..691571f 100644 --- a/qvisqve/auth_router.py +++ b/qvisqve/auth_router.py @@ -17,9 +17,6 @@ import urllib.parse -import bottle - - import qvisqve diff --git a/qvisqve/authn_entity_manager.py b/qvisqve/authn_entity_manager.py index 32e2da3..68d0c3e 100644 --- a/qvisqve/authn_entity_manager.py +++ b/qvisqve/authn_entity_manager.py @@ -14,8 +14,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -import os - import qvisqve import qvisqve_secrets diff --git a/qvisqve/entity_manager.py b/qvisqve/entity_manager.py index da42f5b..b39d7e6 100644 --- a/qvisqve/entity_manager.py +++ b/qvisqve/entity_manager.py @@ -14,11 +14,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -import os - -import yaml - - class EntityManager: def __init__(self, rs, resource_type): diff --git a/qvisqve/entity_manager_tests.py b/qvisqve/entity_manager_tests.py index 5088da4..4ad9bb1 100644 --- a/qvisqve/entity_manager_tests.py +++ b/qvisqve/entity_manager_tests.py @@ -37,13 +37,13 @@ class EntityManagerTests(unittest.TestCase): self.em.get('does-not-exist') def test_creates_an_entity(self): - foo = { + entity = { 'foo': 'foo is cool', } foo_id = 'foo is my entity' - self.em.create(foo_id, foo) + self.em.create(foo_id, entity) self.assertEqual(self.em.list(), [foo_id]) - self.assertEqual(self.em.get(foo_id), foo) + self.assertEqual(self.em.get(foo_id), entity) class ApplicationManagerTests(unittest.TestCase): |