parent
f3091c6424
commit
ff0a292548
2 changed files with 14 additions and 0 deletions
|
@ -738,6 +738,14 @@ class TestConductSearch(ApiTestCase):
|
|||
|
||||
|
||||
class TestGetMatchingEntities(ApiTestCase):
|
||||
def test_unicode_search(self):
|
||||
self.login(ADMIN_ACCESS_USER)
|
||||
|
||||
json = self.getJsonResponse(EntitySearch,
|
||||
params=dict(prefix='北京市', namespace=ORGANIZATION,
|
||||
includeTeams='true'))
|
||||
self.assertEquals(0, len(json['results']))
|
||||
|
||||
def test_notinorg(self):
|
||||
self.login(NO_ACCESS_USER)
|
||||
|
||||
|
|
Reference in a new issue