Browse Source

making sure the member place is not rejected

master
Julio Biason 11 years ago
parent
commit
05349ae632
  1. 3
      tests/group_tests.py

3
tests/group_tests.py

@ -462,6 +462,9 @@ class TestPlacesInGroup(LunchoTests):
request,
token=self.user.token)
self.assertJsonOk(rv)
json = loads(rv.data)
self.assertTrue('rejected' in json)
self.assertFalse(json['rejected'])
def test_add_place_of_non_member(self):
"""Add a place that belongs to seomeone not in the group."""

Loading…
Cancel
Save