XCOM-416: Embargo restrictions are now enforced during logistration
This commit is contained in:
@@ -52,3 +52,8 @@ if not hasattr(RequestFactory, 'patch'):
|
||||
|
||||
if not hasattr(Client, 'patch'):
|
||||
setattr(Client, 'patch', client_patch)
|
||||
|
||||
|
||||
def get_absolute_url(path):
|
||||
""" Generate an absolute URL for a resource on the test server. """
|
||||
return u'http://testserver/{}'.format(path.lstrip('/'))
|
||||
|
||||
Reference in New Issue
Block a user