From 2be1d6a77e9fcd4c92d487ba7116407ec5389723 Mon Sep 17 00:00:00 2001 From: Kazuhiro MIYAHARA Date: Thu, 7 Jul 2016 21:28:07 +0900 Subject: [PATCH] Remove an unused variable from tests.py The varialbe 'size' in TestFile.testMetadataNumberLimit is not used. This patch remove the variable from the test. Change-Id: I255a1dcee12bb6b8dec6ff26ed7edf93ab2acf64 --- test/functional/tests.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/functional/tests.py b/test/functional/tests.py index d083aa10c2..84b501a78f 100644 --- a/test/functional/tests.py +++ b/test/functional/tests.py @@ -1582,7 +1582,6 @@ class TestFile(Base): j = size_limit / (i * 2) - size = 0 metadata = {} while len(metadata.keys()) < i: key = Utils.create_ascii_name() @@ -1592,7 +1591,6 @@ class TestFile(Base): key = key[:j] val = val[:j] - size += len(key) + len(val) metadata[key] = val file_item = self.env.container.file(Utils.create_name())