Skip to content

Commit 0ca8671

Browse files
committed
pyflakes fixes
1 parent fb8e794 commit 0ca8671

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

quintagroup/seoptimizer/tests/testCanonicalURL.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ def test_CanonicalProperty(self):
3434

3535
def test_CanonicalPropertyEnable(self):
3636
curl = '/newcanonical'
37-
res = self.publish(self.mydoc_path + '/@@seo-context-properties?' \
37+
self.publish(self.mydoc_path + '/@@seo-context-properties?' \
3838
'seo_canonical=%s&seo_canonical_override=checked&'\
3939
'form.submitted=1&form.button.Save=Save' % curl,
40-
self.basic_auth).getBody()
40+
self.basic_auth)
4141

4242
self.assertTrue(self.mydoc.hasProperty(CANONICAL_PROPERTY),
4343
'Overriding Canonical URL enabled,' \
@@ -54,10 +54,10 @@ def test_CanonicalPropertyDisable(self):
5454

5555
assert self.mydoc.getProperty(CANONICAL_PROPERTY) == curl
5656

57-
res = self.publish(self.mydoc_path + '/@@seo-context-properties?' \
57+
self.publish(self.mydoc_path + '/@@seo-context-properties?' \
5858
'seo_canonical=%s&seo_canonical_override=&'\
5959
'form.submitted=1&form.button.Save=Save' % curl,
60-
self.basic_auth).getBody()
60+
self.basic_auth)
6161

6262
self.assertTrue(not self.mydoc.hasProperty(CANONICAL_PROPERTY),
6363
'Overriding Canonical URL disabled,' \

0 commit comments

Comments
 (0)