diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-31 16:03:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-31 16:03:13 +0300 |
commit | efb3a40d113b8fbb20946d635f417750f1be68b7 (patch) | |
tree | f5598684b58a63670dd6f5cedf2a16fc330fd6e8 /qvisqve/entity_manager_tests.py | |
parent | ec98a47133723f079d9cae27708cdb6d62ef87ba (diff) | |
download | qvisqve-efb3a40d113b8fbb20946d635f417750f1be68b7.tar.gz |
Fix: things pylint whinges about
Diffstat (limited to 'qvisqve/entity_manager_tests.py')
-rw-r--r-- | qvisqve/entity_manager_tests.py | 6 |
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): |