Changeset 1837
- Timestamp:
- 11/03/08 16:34:31 (2 months ago)
- Location:
- siteapp/trunk/opengeo/almanac
- Files:
-
- 3 modified
-
rest.txt (modified) (2 diffs)
-
security.txt (modified) (1 diff)
-
smoketest.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
siteapp/trunk/opengeo/almanac/rest.txt
r1674 r1837 30 30 >>> request = testing.new_interaction('bob') 31 31 >>> alm1, s1 = content_setup(app, request, data1, data2) 32 >>> s1.type = 'image' 33 >>> s1.photoid = '1234' 32 34 >>> endInteraction() 33 35 … … 204 206 ('http://xmlns.opengeo.org/almanac/atom#contenttype', 'Story', 'Story')) 205 207 208 >>> story.type = 'text' 209 206 210 207 211 Security -
siteapp/trunk/opengeo/almanac/security.txt
r1481 r1837 232 232 and should be able to delete the story of another:: 233 233 234 >>> app['a1']['third-awesome-story.1'].type = 'text' 234 235 >>> url = "http://localhost/++rest++app/our-app/a1/third-awesome-story.1" 235 236 >>> response = http_call('DELETE', url, data=testing.entry1, handle_errors=True, **make_header('dude')) -
siteapp/trunk/opengeo/almanac/smoketest.txt
r1298 r1837 20 20 21 21 >>> a1, s1 = testing.setup_basic_content_fixture(app, request, data1, data2) 22 >>> s1.type = 'text' 22 23 >>> endInteraction() 23 24 >>> alm1 = a1
