~ubuntu-branches/ubuntu/trusty/schooltool/trusty

« back to all changes in this revision

Viewing changes to src/schooltool/app/browser/ftests/app.txt

  • Committer: Gediminas Paulauskas
  • Date: 2013-10-10 16:53:33 UTC
  • mfrom: (1.1.27)
  • Revision ID: menesis@pov.lt-20131010165333-knsk88i2od7b8o70
Tags: 1:2.6.0-0ubuntu1
* New upstream release.
* debian/redis.conf: save redis databases less often.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
Let's create a person so that we can fool around with his calendar:
16
16
 
17
17
    >>> from schooltool.basicperson.browser.ftests.setup import addPerson
18
 
    >>> addPerson('Frog', 'Frog', 'frog', 'pwd')
 
18
    >>> addPerson('Frog', 'Prince', 'frog', 'pwd')
19
19
 
20
20
Let's create a second person so that we can test access control.
21
21
 
200
200
    >>> manager.printQuery("id('content-body')//div[@class='info-block'][2]/h3")
201
201
    <h3>Instructors</h3>
202
202
    >>> manager.printQuery("id('content-body')//div[@class='info-block'][2]/ul[1]//a")
203
 
    <a href="http://localhost/persons/frog">Frog, Frog</a>
 
203
    <a href="http://localhost/persons/frog">Frog Prince</a>
204
204
 
205
205
Toad should still be able to see the course view even though it is
206
206
showing bits of frog's personal information as well as the section