summaryrefslogtreecommitdiffstats
path: root/tests/functional/test_wap_client
diff options
context:
space:
mode:
authorChristoph Erhardt <kolab@sicherha.de>2021-06-05 09:59:24 +0200
committerChristoph Erhardt <kolab@sicherha.de>2022-01-10 20:48:40 +0100
commitc3b9d5557161f840a8f2c45fc91ec09299593dd9 (patch)
tree93105906638753c8d040af85226f30ae63963cbf /tests/functional/test_wap_client
parent991255eaa314b51e2dd586460311d4633a56eb86 (diff)
downloadpykolab-c3b9d5557161f840a8f2c45fc91ec09299593dd9.tar.gz
[Python 3] Remove unnecessary occurrences of .keys()
Summary: The following cases are covered: * for key in dict * if key in dict * len(dict) This will make life easier for futurize. Reviewers: machniak, mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3235
Diffstat (limited to 'tests/functional/test_wap_client')
-rw-r--r--tests/functional/test_wap_client/test_002_user_add.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/test_wap_client/test_002_user_add.py b/tests/functional/test_wap_client/test_002_user_add.py
index b4d4752..a48b92b 100644
--- a/tests/functional/test_wap_client/test_002_user_add.py
+++ b/tests/functional/test_wap_client/test_002_user_add.py
@@ -51,7 +51,7 @@ class TestUserAdd(unittest.TestCase):
print(folders)
print(ac_folders.keys())
- self.assertEqual(len(folders), len(ac_folders.keys()))
+ self.assertEqual(len(folders), len(ac_folders))
def test_003_folders_metadata_set(self):
imap = IMAP()