From 5087db5a7fe794bf2c389516efa24506ee88abd5 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 4 Apr 2013 12:10:00 -0400 Subject: [PATCH] Remove some prints --- lib/main/models/__init__.py | 1 - lib/main/tests/projects.py | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/main/models/__init__.py b/lib/main/models/__init__.py index fd4c48a2fa..1fd1b99916 100644 --- a/lib/main/models/__init__.py +++ b/lib/main/models/__init__.py @@ -133,7 +133,6 @@ class UserHelper(object): print "N1" return False rc = cls.can_user_administrate(user, obj) - print "N2: %s" % rc return rc class PrimordialModel(models.Model): diff --git a/lib/main/tests/projects.py b/lib/main/tests/projects.py index a9564a02f7..94af25e100 100644 --- a/lib/main/tests/projects.py +++ b/lib/main/tests/projects.py @@ -282,9 +282,8 @@ class ProjectsTest(BaseTest): other_creds = '/api/v1/users/%s/credentials/' % other.pk team_creds = '/api/v1/teams/%s/credentials/' % team.pk - print "ORGS=%s", other.organizations.all() - for x in other.organizations.all(): - print x.admins.all() + #for x in other.organizations.all(): + # print x.admins.all() new_credentials = dict( name = 'credential', @@ -300,7 +299,6 @@ class ProjectsTest(BaseTest): self.post(other_creds, data=new_credentials, expect=401) self.post(other_creds, data=new_credentials, expect=401, auth=self.get_invalid_credentials()) self.post(other_creds, data=new_credentials, expect=201, auth=self.get_super_credentials()) - print "TEST NOW" self.post(other_creds, data=new_credentials, expect=201, auth=self.get_normal_credentials()) self.post(other_creds, data=new_credentials, expect=201, auth=self.get_other_credentials()) self.post(other_creds, data=new_credentials, expect=403, auth=self.get_nobody_credentials())