[cse491] Homework8

C. Titus Brown ctb at msu.edu
Wed Oct 22 18:16:41 PDT 2008


On Wed, Oct 22, 2008 at 09:03:43PM -0400, Andrew Hanlon wrote:
-> Is the webserve-user-test.py file supposed to check to make sure that
-> usernames don't contain strange characters or is it to check to make
-> sure that usernames can contain strange characters. I would think the
-> former, but homework 8 says:
-> 
-> Now create a new file, webserve-user-tests.py, in the homework8/
-> subdirectory. These tests should be unit tests (i.e. in the same format
-> as webserve-test.py) that check to make sure that usernames can contain
-> strange characters like these:
-> 
->         '!"#$%&'()*+,-./:;<=>?@[]^_`{|}~

*can*

Usernames like '@foo-' should be legal.  (Don't you hate websites that
impose stupid constraints on user names, too?!)

--t
-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2008 mailing list