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

Class LinkTest

source code

django.test.TestCase --+
                       |
                      LinkTest

Instance Methods [hide private]
 
setUp(self) source code
 
test_get_link(self) source code
 
test_links_registered(self) source code
 
test_401_response(self)
Should not be able to perform editing actions without login.
source code
 
test_cant_GET_edit_links(self)
For links of rel=edit, a post request should be required.
source code
 
test_403_response(self)
Should not be able to edit shapes a user doesn't own.
source code
 
test_403_response_multiple_instances(self)
Should not be able to edit shapes a user doesn't own.
source code
 
test_404_response(self) source code
Method Details [hide private]

test_403_response_multiple_instances(self)

source code 

Should not be able to edit shapes a user doesn't own. Test to make sure every feature in a request is checked.