X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fruntime.py;h=b76ec0a8dda631b20081a977dd01e70cbfcb98e8;hb=38e28ae142af328b236b4200da6b07ffc3f44887;hp=0ed38e0628d5abf4697deb0a93d7202cb397f8b6;hpb=9a053166cdb0187d0514403e92e8719d9a3aa8ee;p=sfa.git diff --git a/sfatables/runtime.py b/sfatables/runtime.py index 0ed38e06..b76ec0a8 100644 --- a/sfatables/runtime.py +++ b/sfatables/runtime.py @@ -55,7 +55,7 @@ class SFATablesRules: def add_request_context_to_rspec(self, doc): p = doc.xpathNewContext() - context = p.xpathEval("//Rspec") + context = p.xpathEval("//RSpec") if (not context): raise Exception('Request is not an rspec') else: