Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add test for alias searching

  • Loading branch information...
commit 99d42c70882eec083bbd7cbdf0098eaf59dbf8a0 1 parent 636e3bb
@guaq guaq authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 membership/tests.py
View
5 membership/tests.py
@@ -1075,4 +1075,7 @@ def test_find_by_organization_name(self):
self.assertEquals(len(Membership.search(self.o.organization.organization_name)), 1)
def test_find_by_alias(self):
- pass
+ alias = Alias(owner=self.m,
+ name=u"this.alias.should.be.unique")
+ alias.save()
+ self.assertEquals(len(Membership.search(alias.name)), 1)
Please sign in to comment.
Something went wrong with that request. Please try again.