Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 49 additions and 0 deletions.
  1. +49 −0 karl/webtests/test_allscreens.py
View
49 karl/webtests/test_allscreens.py
@@ -250,6 +250,55 @@ def test_it(self):
# intranet_networkevents
# intranet_networknews
# intranet_view
+ # intranets_add
+ response = self.app.get('/add_community.html')
+ form = response.forms['save']
+ form['title'] = "Intranets"
+ form['description'] = "Intranets for offices"
+ response = form.submit('submit')
+ response = response.follow()
+ self.assertTrue("INTRANETS" in response)
+
+ # intranets_view
+ response = self.app.get('/intranets/intranets')
+ self.assertTrue("INTRANETS" in response)
+
+ # intranet_add
+ url = '/intranets/intranets/add_intranet.html'
+ response = self.app.get(url)
+ form = response.forms['save']
+ form['title'] = "Gotham"
+ response = form.submit('submit')
+ response = response.follow()
+ self.assertTrue("Gotham" in response)
+
+ # intranetfolder_add
+ url = '/intranets/gotham/files/add_folder'
+ response = self.app.get(url)
+ form = response.forms['save']
+ form['title'] = "Reference Manuals"
+ response = form.submit('submit')
+ response = response.follow()
+ self.assertTrue("Reference Manuals" in response)
+
+ # referencemanuals_view
+
+ # referencemanual_add
+ url = '/intranets/gothamfiles/reference-manuals' \
+ '/add_referencemanual.html'
+ form = response.forms['save']
+ form['title'] = "RM1"
+ form['description'] = "Reference Manual One"
+ response = form.submit('submit')
+ response = response.follow()
+ response = self.app.get(url)
+ self.assertTrue("RM1" in response)
+
+ # referencemanual_view
+ response = self.app.get('/intranets/files/reference-manuals/')
+ self.assertTrue("Reference Manuals" in response)
+
+
# members_picturesview
response = self.app.get(dc + '/members')

No commit comments for this range

Something went wrong with that request. Please try again.