Changeset 4622 for cows


Ignore:
Timestamp:
12/12/08 14:28:56 (11 years ago)
Author:
spascoe
Message:

Added a trivial test to see if buildbot picks it up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/test/testapp/tests/test_wxs.py

    r4614 r4622  
    66        r = self.app.get('/wxs?REQUEST=GetPiza') 
    77        assert 'One cheese and tomato piza to go!' in r.body 
     8 
     9    def testException(self): 
     10        r = self.app.get('/wxs?REQUEST=NoOp', status=400) 
     11        assert r.status == 400 
     12        assert 'ExceptionReport' in r.body 
Note: See TracChangeset for help on using the changeset viewer.