summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-06-16 11:22:18 -0400
committerSimo Sorce <simo@redhat.com>2014-06-17 14:51:12 -0400
commitb2e02899bf037e26a572e6ea53dce37c9f8b0ee0 (patch)
treeacd1ee9a581a083c81ed033ee308948df9585c62 /tests
parent4abe4bcbbc6289a623a0ddaa2b593958e08bf4ea (diff)
downloadipsilon-b2e02899bf037e26a572e6ea53dce37c9f8b0ee0.tar.gz
ipsilon-b2e02899bf037e26a572e6ea53dce37c9f8b0ee0.tar.xz
ipsilon-b2e02899bf037e26a572e6ea53dce37c9f8b0ee0.zip
Fix warning
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/helpers/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/http.py b/tests/helpers/http.py
index 425d6b7..833637f 100755
--- a/tests/helpers/http.py
+++ b/tests/helpers/http.py
@@ -37,7 +37,7 @@ class PageTree(object):
@property
def tree(self):
- if not self._tree:
+ if self._tree is None:
self._tree = html.fromstring(self.text)
return self._tree