Package madrona :: Package kmlapp :: Module tests :: Class KMLAppTest
[hide private]

Class KMLAppTest

source code

django.test.TestCase --+
                       |
                      KMLAppTest

Instance Methods [hide private]
 
setUp(self) source code
 
test_nonauth_user_kml(self)
Tests that non-authenticated user can't retrieve any MPAs
source code
 
test_other_user_kml(self)
Tests that an authenticated user can't retrieve another user's MPAs
source code
 
test_user_kml(self)
Tests that user can retrieve valid KML file of their MPAs
source code
 
test_array_kml(self)
Tests that Array can be represented as valid KML
source code
 
test_single_kml(self)
Tests that single MPA can be represented as valid KML
source code
 
test_user_kml_links(self)
Tests that user can retrieve valid KML file with network links to arrays
source code
 
test_public_kml_auth(self)
Tests that user can retrieve valid KML file for public shared mpas and arrays
source code
 
test_public_kml_unauth(self)
Tests that ANY user can retrieve valid KML file for public shared mpas and arrays
source code
 
test_shared_kml(self)
Tests that another user can view the shared_kml (with network links the the sharedby-kmls)
source code
 
test_sharedby_kml(self)
Tests that user can view the sharedby_kml (mpas shared by a given group)
source code
 
test_kmz_view(self)
Tests that we can retrieve a zipped KML file (ie KMZ)
source code
 
test_nonexistant_feature(self) source code
 
test_invalid_kml(self)
Tests that invalid KML gets noticed
source code
Class Variables [hide private]
  fixtures = ['example_data']