Henrik Levkowetz
49f8de31b4
Permitting both 404 and 200 responses for some URLs, for now; till we can run tests with a populated database
...
- Legacy-Id: 242
2007-06-05 18:43:48 +00:00
Henrik Levkowetz
e0a30980fa
Can't use the mysql XML dump as fixture -- too optimistic! ;-)
...
- Legacy-Id: 238
2007-06-05 17:40:06 +00:00
Henrik Levkowetz
03c18bd33d
Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
...
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Henrik Levkowetz
47a88da313
Separate response count listing and assertions
...
- Legacy-Id: 232
2007-06-05 10:16:17 +00:00
Henrik Levkowetz
fbcd9eddf3
Added test assertions requiring no non-200 responses and no exceptions for URLs not listed in the testurls.list
...
- Legacy-Id: 231
2007-06-05 10:14:24 +00:00
Henrik Levkowetz
b7c816cf4e
Added test functionality to extract all URLs in the apps and access those that
...
doesn't seem to take parameters.
- Legacy-Id: 230
2007-06-05 10:11:18 +00:00
Henrik Levkowetz
8ff20e3127
Expanded the test code which finds urlpatterns to extract all URLs
...
specified in the various Django apps of the site. Also fixed the
documentation of the TemplatedForm factory to be more correct.
- Legacy-Id: 227
2007-06-04 19:26:16 +00:00
Henrik Levkowetz
d5c66de1a1
Removing superfluous import
...
- Legacy-Id: 222
2007-06-04 00:46:40 +00:00
Henrik Levkowetz
8953e1a647
Turning off the test error for missing test URLs for now
...
- Legacy-Id: 220
2007-06-04 00:32:20 +00:00
Henrik Levkowetz
eedd6a8e8c
Made URL check code accept comment lines and empty lines in URL file.
...
Commented out broken URLs in the testurl.list
Fixed a missing import in ipr/views.py
- Legacy-Id: 219
2007-06-03 23:39:02 +00:00
Henrik Levkowetz
3d4e9286c2
Minor tweaks to test output
...
- Legacy-Id: 218
2007-06-03 22:43:43 +00:00
Henrik Levkowetz
c7230247b1
Making the url test more verbose. Adding an initial list of urls to test.
...
- Legacy-Id: 217
2007-06-03 21:21:29 +00:00
Henrik Levkowetz
9bced60e2f
Added a top-level test module which will run through django URLs in any
...
committed file named 'testurl.list' in any directory in the ietf/ tree.
There is also a test for URL coverage -- if there isn't declared test
URLs for all the url patterns in ietf/urls.py this coverage test will
fail.
- Legacy-Id: 215
2007-06-03 19:52:06 +00:00