Add a helper script to run the tests.

The -d option to nosetests gives more useful assertion failure
messages.

Change-Id: Ib06a88f8c60164a1eddbcc5a0c3e4f5a5b937753
Add a script to reset the underlying LDAP DB.

Also add a copy of the current starting data from the dummy-secrets
repo. I don't think this is the same as what the tests in this repo
are expecting, but it's fairly close & therefore useful as a starting
point.

Change-Id: I18443b864bd5d207d261895504957879113eac94
Allow user more control over which tests are run.

By not specifying the folder the tests are in, callers can
pass specific files to nosetests if they want.

Change-Id: Ia198c80eb332c903460d603c56505ba3677e74cb
Include LDAP reset in running the tests.

Since we know that the tests won't work if the LDAP is setup wrongly,
force a reset before each run. This doesn't address the issue of things
in the LDAP ending up out of sync as a result of previous tests, but
is a useful step in the right direction for now.

Change-Id: I7be5e0a4e3cd6001a913b1f7c37879e724c8b256
Replace the redundant 'bacon' user with a blueshirt.

Change-Id: I9d2be9aebc96446eb480d6d5fb458cad8a62c9a9
Set the blueshirt user's password properly.

It should be 'blueshirt'.

Change-Id: Ia2ce8c067e8c9a7740af5b8803e45c2764f0940e
Add further tests for teacher and blueshirt statuses.

Change-Id: Ic050bd9b390b097d76a7e5bffb28588d1421759b
Merge branch 'add-readme'
Add info to the readme about the DB reset before the tests.

Also establish a convention to create items on the fly if they're
going to be modified in the tests.

Change-Id: Ia2dd041b287c0bb10eb1f53d699d8f1b582f05e0
Merge pull request #2 from PeterJCLaw/master

Make testing easy by providing helper scripts & instructions.