Henrik Levkowetz
cd030d3b43
Adding copyright notices to all python files
...
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Henrik Levkowetz
e6343f614d
Add an ignore regex expression for the footer, so date, version and contact information changes doesn't trigger diffs
...
- Legacy-Id: 711
2007-06-27 20:11:53 +00:00
Henrik Levkowetz
05e03aff2b
Fix exception reporting
...
- Legacy-Id: 701
2007-06-27 15:01:05 +00:00
Henrik Levkowetz
36df70dc67
Make it possible to capture the complte agenda diff
...
- Legacy-Id: 698
2007-06-27 14:29:49 +00:00
Henrik Levkowetz
955254b53c
Oops. Syntax error.
...
- Legacy-Id: 675
2007-06-26 23:36:11 +00:00
Henrik Levkowetz
8ecc50b0fa
No need to fetch the good URL if we're going to skip the diff.
...
- Legacy-Id: 674
2007-06-26 23:33:48 +00:00
Henrik Levkowetz
c6cd8eed3b
Some fixes to ietf/tests.py, and various updated diffs.
...
- Legacy-Id: 671
2007-06-26 22:25:28 +00:00
Henrik Levkowetz
0ca78de484
Make the diff chunk application order predictable and update the chunks to be applied in the right order
...
- Legacy-Id: 670
2007-06-26 20:41:52 +00:00
Henrik Levkowetz
0e9c8926a6
Added logging to find out why the buildbot doesn't give clean diffs when local runs do.
...
- Legacy-Id: 665
2007-06-26 20:17:27 +00:00
Henrik Levkowetz
0f534e0242
Don't handle empty diff chunks
...
- Legacy-Id: 662
2007-06-26 19:22:30 +00:00
Henrik Levkowetz
d1f5520067
Changing to sorted diffs for recent and previous IESG announcements. Doing this shows what seems to be a flaw in the old scripts, listing some informational documents among the Protocol Announcements. Adding an acceptable diff for the remaining diff which is a result of this.
...
- Legacy-Id: 619
2007-06-22 23:13:11 +00:00
Henrik Levkowetz
ec1b40849d
Skip the diff of one of the /idindex/ entries -- the stored diff can't match both, since the diffed URLs are specified at the top of the diff.
...
- Legacy-Id: 612
2007-06-22 09:01:49 +00:00
Henrik Levkowetz
4b50aaf782
Make sure goodhtml has a value also if retrieval fails.
...
- Legacy-Id: 570
2007-06-21 01:22:12 +00:00
Henrik Levkowetz
e6c6526058
In the buildbot, indicate diffs for pages which have an acceptable diff which fails differently than pages without an acceptable diff.
...
- Legacy-Id: 557
2007-06-20 16:32:06 +00:00
Henrik Levkowetz
f6b1024418
Empty never have a diff. A bit too easy ,;-)
...
- Legacy-Id: 543
2007-06-19 23:52:06 +00:00
Henrik Levkowetz
0e2173a060
Add testing support for selectively ignoring regex patterns. First use case is to ignore datestamps for page creation. Also add ignore:date to the spec. in urltest.list for agenda and meeting pages, and add some ignore date regex patterns.
...
- Legacy-Id: 542
2007-06-19 23:31:02 +00:00
Henrik Levkowetz
c03019afbe
Adding a page review facility under the URL /review/. This is based on frames and takes the URLs in question from the testurl.list files.
...
- Legacy-Id: 487
2007-06-18 14:34:00 +00:00
Bill Fenner
61983079e4
Since I've been using "skipredirect" as a keyword, make it valid.
...
- Legacy-Id: 475
2007-06-17 13:44:36 +00:00
Henrik Levkowetz
795c9d0c0c
Tweaking the output format.
...
- Legacy-Id: 471
2007-06-17 11:43:59 +00:00
Henrik Levkowetz
faeb7a152a
We should still check all the test URLs if no prefixes have been given.
...
- Legacy-Id: 470
2007-06-17 11:29:06 +00:00
Henrik Levkowetz
f303d6f226
Moving some of the setup out to the module level to avoid repeating things unnecessary. In particular applying fixtures and finding patterns and testurls need only be done once.
...
- Legacy-Id: 469
2007-06-17 11:25:48 +00:00
Henrik Levkowetz
63754d4b2b
The URL tests in tests.py can now limit the tests to be run to given URL prefixes. The test class looks for an environment variable URLPREFIX, and if it exists and is non-empty, it is expected to contain a space-separated list of URL prefix patterns for which tests should be run. test/run has been updated to place arguments given on the command line in the URLPREFIX environment variable, so you can say:
...
{{{
$ test/run ipr
}}}
and only the URLs which start with /ipr will be tested.
- Legacy-Id: 468
2007-06-17 11:09:52 +00:00
Henrik Levkowetz
2e8902d8b4
Formatting tweaks.
...
- Legacy-Id: 455
2007-06-17 00:45:25 +00:00
Henrik Levkowetz
54f5456c25
Change timestamp placement (now after related string, and indented. Added retrieval info for comparison URLs
...
- Legacy-Id: 454
2007-06-17 00:09:34 +00:00
Henrik Levkowetz
a8f8ace37c
Added timestamps to the urltests
...
- Legacy-Id: 453
2007-06-16 23:17:31 +00:00
Henrik Levkowetz
c37319ccd7
Ignore trailing (and leading) newlines in diff chunks.
...
- Legacy-Id: 447
2007-06-16 21:41:04 +00:00
Henrik Levkowetz
0f391a1d90
More diff test normalizing
...
- Legacy-Id: 443
2007-06-16 19:50:06 +00:00
Henrik Levkowetz
2c6c881a3d
Ignore 'RFC 1234' vs. 'RFC1234' diffs. Ignore 'ID' vs. 'I-D' diffs.
...
- Legacy-Id: 442
2007-06-16 18:29:36 +00:00
Henrik Levkowetz
a22d35877c
Layout tweak
...
- Legacy-Id: 440
2007-06-16 16:47:59 +00:00
Henrik Levkowetz
6c8ade30a4
Layout tweak
...
- Legacy-Id: 438
2007-06-16 16:27:32 +00:00
Henrik Levkowetz
d89e4b909a
Place redirect failure information on consecutive lines for better overview.
...
- Legacy-Id: 437
2007-06-16 16:25:59 +00:00
Henrik Levkowetz
1eafc820c1
Add a separation line between NoTest lines and the following in the test output
...
- Legacy-Id: 435
2007-06-16 16:21:18 +00:00
Henrik Levkowetz
df6836e301
Changing test classification for No test URL and redirect test comparison failures. The first for clarity, the latter temporarily in order not to continuously run the buildbot on the highest error level. Change back when cleaner.
...
- Legacy-Id: 432
2007-06-16 15:04:29 +00:00
Henrik Levkowetz
70f85c60aa
Don't require test URLs for admin and account apps now.
...
- Legacy-Id: 429
2007-06-16 13:14:54 +00:00
Henrik Levkowetz
dab68d8d69
Run syncdb before running tests on the populated database, to apply any new fixtures which are part of the svn checkout we're testing
...
- Legacy-Id: 426
2007-06-16 11:20:15 +00:00
Bill Fenner
07ba4c0132
Skip any url query segment that doesn't contain an "=", so
...
that a query like "?&ipr_id=657" can be parsed.
- Legacy-Id: 415
2007-06-15 18:25:19 +00:00
Bill Fenner
ac8b6ee6af
Test redirects if there's a right-hand URL in testurl.list.
...
Strip off a static "https://datatracker.ietf.org " and then
fetch it locally, and make sure it returns a 301 redirect
to the left-hand URL.
- Legacy-Id: 408
2007-06-15 16:47:40 +00:00
Henrik Levkowetz
b04b50bd63
Refined the handling of sorted comparison tests
...
- Legacy-Id: 405
2007-06-15 13:29:50 +00:00
Henrik Levkowetz
e044b6e228
Fixed broken report of untested URLs in tests.py
...
- Legacy-Id: 401
2007-06-15 12:02:05 +00:00
Henrik Levkowetz
025178a514
Additional testing functionality. It's now possible to add 'sort' to the result codes in testurl.list, and the lines of the pages returned will be sorted before they are compared.
...
- Legacy-Id: 397
2007-06-15 11:48:12 +00:00
Henrik Levkowetz
8a3936dfa5
Acceptable diff: changed order of related drafts in IPR search result. Also a tweak to tests.py regarding test-url to diff filename mangling.
...
- Legacy-Id: 395
2007-06-15 00:41:38 +00:00
Henrik Levkowetz
76378ade5d
Another tweak to the URL text comparisons in tests.py
...
- Legacy-Id: 394
2007-06-15 00:16:05 +00:00
Henrik Levkowetz
84b9a959a8
Backing out the previous change so I can commit it with proper comments...(3)
...
- Legacy-Id: 389
2007-06-14 23:45:15 +00:00
Henrik Levkowetz
d989d0aa21
A little filter to add a space to strings like 'RFC1234' to get 'RFC 1234'
...
- Legacy-Id: 386
2007-06-14 23:38:51 +00:00
Henrik Levkowetz
1ec697c90a
Slightly better 'skip' messages from ietf/tests.py
...
- Legacy-Id: 354
2007-06-12 23:01:16 +00:00
Henrik Levkowetz
dd37257c0c
Only print the first 100 lines of a long diff. New soup2html code for spacing associated with certain tags.
...
- Legacy-Id: 337
2007-06-12 17:52:07 +00:00
Henrik Levkowetz
6acb406762
Don't loose the full url when doing base-url / query-args splitting
...
- Legacy-Id: 332
2007-06-12 14:42:55 +00:00
Henrik Levkowetz
0374ea9f4e
Consistensy fix for test result lines
...
- Legacy-Id: 331
2007-06-12 09:22:31 +00:00
Henrik Levkowetz
24b3eeb3d3
For use with the django test client, parse test urls into a base-url / query-args-dict pair.
...
- Legacy-Id: 323
2007-06-11 21:12:50 +00:00
Henrik Levkowetz
0d69f63829
Consistency fix...
...
- Legacy-Id: 322
2007-06-11 20:29:25 +00:00