Commit 01aeae12 authored by Alex Pyrgiotis's avatar Alex Pyrgiotis
Browse files

admin: Fix failing tests

parent 71811f22
......@@ -181,13 +181,14 @@ class AdminTestCase(ProjectAPITest):
app1 = {"name": "",
"description": u"δεσκρίπτιον",
"end_date": "2013-5-5T20:20:20Z",
"end_date": "2113-5-5T20:20:20Z",
"join_policy": "auto",
"max_members": 5,
"resources": {u"σέρβις1.ρίσορς11": {
"project_capacity": 1024,
"member_capacity": 512}}
status, body = self.create(app1, h_owner)
# Ensure that the project application has been created.
......@@ -216,8 +216,8 @@ def send_admin_email(user, request):
subject, body = render_email(user, request.POST)
sender = request.POST.get('sender')
with CustomSender(sender):
send_email(user, subject, template_name=None, text=body)
send_email(user, sender=sender, subject=subject, template_name=None,
def create_details_href(type, name, id):
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