summaryrefslogtreecommitdiff
path: root/qvisqve/entity_manager_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-07-31 16:03:13 +0300
committerLars Wirzenius <liw@liw.fi>2018-07-31 16:03:13 +0300
commitefb3a40d113b8fbb20946d635f417750f1be68b7 (patch)
treef5598684b58a63670dd6f5cedf2a16fc330fd6e8 /qvisqve/entity_manager_tests.py
parentec98a47133723f079d9cae27708cdb6d62ef87ba (diff)
downloadqvisqve-efb3a40d113b8fbb20946d635f417750f1be68b7.tar.gz
Fix: things pylint whinges about
Diffstat (limited to 'qvisqve/entity_manager_tests.py')
-rw-r--r--qvisqve/entity_manager_tests.py6
1 files changed, 3 insertions, 3 deletions
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):