Commit f78a768b authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: ensure Subscription Request is consistent

parent bee17500
...@@ -118,10 +118,9 @@ subscription_request = portal.subscription_request_module.newContent( ...@@ -118,10 +118,9 @@ subscription_request = portal.subscription_request_module.newContent(
price=price, price=price,
# XXX activate_kw=activate_kw # XXX activate_kw=activate_kw
) )
"""
if len(subscription_request.checkConsistency()) != 0: if len(subscription_request.checkConsistency()) != 0:
raise NotImplementedError(subscription_request.checkConsistency()) raise AssertionError(subscription_request.checkConsistency())
"""
subscription_request.submit() subscription_request.submit()
return subscription_request return subscription_request
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment