Commit 0ca8671 1 parent fb8e794 commit 0ca8671 Copy full SHA for 0ca8671
File tree 1 file changed +4
-4
lines changed
quintagroup/seoptimizer/tests
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ def test_CanonicalProperty(self):
34
34
35
35
def test_CanonicalPropertyEnable (self ):
36
36
curl = '/newcanonical'
37
- res = self .publish (self .mydoc_path + '/@@seo-context-properties?' \
37
+ self .publish (self .mydoc_path + '/@@seo-context-properties?' \
38
38
'seo_canonical=%s&seo_canonical_override=checked&' \
39
39
'form.submitted=1&form.button.Save=Save' % curl ,
40
- self .basic_auth ). getBody ()
40
+ self .basic_auth )
41
41
42
42
self .assertTrue (self .mydoc .hasProperty (CANONICAL_PROPERTY ),
43
43
'Overriding Canonical URL enabled,' \
@@ -54,10 +54,10 @@ def test_CanonicalPropertyDisable(self):
54
54
55
55
assert self .mydoc .getProperty (CANONICAL_PROPERTY ) == curl
56
56
57
- res = self .publish (self .mydoc_path + '/@@seo-context-properties?' \
57
+ self .publish (self .mydoc_path + '/@@seo-context-properties?' \
58
58
'seo_canonical=%s&seo_canonical_override=&' \
59
59
'form.submitted=1&form.button.Save=Save' % curl ,
60
- self .basic_auth ). getBody ()
60
+ self .basic_auth )
61
61
62
62
self .assertTrue (not self .mydoc .hasProperty (CANONICAL_PROPERTY ),
63
63
'Overriding Canonical URL disabled,' \
You can’t perform that action at this time.
0 commit comments