示例#1
0
 def setUp(self):
     Harness.setUp(self)
     self.alice = self.make_participant("alice")
     self.bob = self.make_participant("bob")
     self.community = Community.create('test', self.alice)
示例#2
0
 def setUp(self):
     Harness.setUp(self)
     self.alice = self.make_participant("alice")
     self.bob = self.make_participant("bob")
     self.community = Community.create('test', self.alice.id)
示例#3
0
 def test_basic_search_with_results(self):
     alice = self.make_participant('alice')
     Community.create('alice', alice)
     response = self.client.GET('/search?q=alice')
     assert response.code == 200
示例#4
0
 def test_basic_search_with_results(self):
     alice = self.make_participant('alice')
     Community.create('alice', alice.id)
     response = self.client.GET('/search?q=alice')
     assert response.code == 200