Package madrona :: Package features :: Module tests :: Class SharingTestCase
[hide private]

Class SharingTestCase

source code

django.test.TestCase --+
                       |
                      SharingTestCase

Instance Methods [hide private]
 
setUp(self) source code
 
test_nested_folder_sharing(self) source code
 
test_user_sharing_groups(self) source code
 
test_nothing_shared(self)
Make sure nothing is shared yet
source code
 
test_share_mpa_manager(self)
Make sure the basic sharing of mpas works via the object manager (for returning querysets)
source code
 
test_share_mpa_method(self)
Make sure the basic sharing of mpas works via the feature method (check viewability of particular instance)
source code
 
test_share_with_bad_group(self)
Make sure we can't share with a group which does not have permissions
source code
 
test_share_by_bad_user(self)
Make sure user not belonging to the group can't share their objects
source code
 
test_share_collection_manager(self)
Arrays are containers of MPAs so their child objects should also appear to be shared Uses the class object manager
source code
 
test_share_collection_method(self)
Arrays are containers of MPAs so their child objects should also appear to be shared Uses the feature's is_viewable() method
source code
 
test_groups_users_sharing_with(self)
Test if we can get a list of groups and users who are sharing with a given user
source code
 
test_get_share_form_401(self) source code
 
test_get_share_form_403(self) source code
 
test_get_share_form(self) source code
 
test_post_share_form(self) source code