Lars Eggert
35074660dc
chore: Prevent test suite artifact creation in work directory ( #6438 )
...
* chore: Prevent test suite artifact creation in work directory
Also remove a few other stale test assets while I'm here.
* Try and fix CI
* Change IDSUBMIT_REPOSITORY_PATH
* Make the dir
* test: clean up media/nomcom directories
* test: de-dup settings_temp_path_overrides
* chore: remove debug
* refactor: avoid premature import of test_utils
* refactor: drop useless lambda wrapper
---------
Co-authored-by: Jennifer Richards <jennifer@staff.ietf.org>
2024-09-18 14:08:01 -05:00
Robert Sparks
cedd58f950
feat: obviate ghostlinkd ( #7336 )
...
* wip: identify whats needed to obviate ghostlinkd
* fix: hardlink new charter files to ftp directory
* fix: hardlink new charter files to ftp directory (continued)
* chore: bring settings comment up to date
* chore: add archive and ftp dirs to setup of various environments
* fix: test charter submits write to ftp dir
* chore: remove debug
* fix: test charter approval writes to ftp dir
* fix: link review revisions into ftp dir
* fix: link to all archive and ftp on submission post
* chore: clean comments, move action to github issue
* fix: link idindex files to all archive and ftp
* chore: deflake
* chore: remove TODO comment
* fix: use settings
* chore: rename new setting
2024-04-19 16:18:52 -05:00
Eric Vyncke
2a27a2bffc
feat: Can we provide a better review assignment email subject. #3760 ( #5415 )
...
* Specific email subject + requester/secretary in cc
* Send the deadline in the subject
* Use unicode rather than ASCII for reviewer's name
* More log info in the test
* Fix the closing parenthesis
* Fix the email test when review is assigned
* chore: address review comment
---------
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2023-05-17 12:23:20 -05:00
Robert Sparks
400a830661
chore: add bibxml-ids dir to container build. ( #5590 )
2023-05-08 15:16:31 -05:00
Jennifer Richards
bc9c74ef50
fix: Render complete iCalendar event when show_location is False ( #5394 )
...
* test: More carefully test event syntax in ical file
* test: Test agenda.ics view with all meeting sessions
* fix: Render complete iCalendar event when show_location is False
* chore: Fix confusing comment
2023-03-26 14:13:58 +09:00
Jennifer Richards
8caa4ce0cc
fix: remove extra ':' after DTSTAMP in .ics templates ( #4762 )
2022-11-15 12:22:00 -06:00
Lars Eggert
3234f1a121
test: Validate HTML rendered during tests ( #3782 )
2022-04-07 13:30:38 -03:00
Robert Sparks
87838725af
test: bypass html validation pending rework at template level ( #3748 )
2022-03-25 07:53:46 -05:00
Lars Eggert
f516f86a17
ci: Add vnu to dev + test docker image ( #3724 )
...
* ci: Add vnu to dev docker image
* Use default-jdk from apt, and just download the vnu JAR blob
2022-03-22 13:13:28 -04:00
Lars Eggert
eb5423d084
ci: Also check generated HTML with the "vnu" validator ( #3682 )
...
* ci: Also check generated HTML with the "vnu" validator
Because HTML Tidy apparently misses a bunch of errors.
* thead -> tbody
* More fixes
* More fixes
* Start checker in test runner
2022-03-21 12:50:23 -05:00
Lars Eggert
5587428ebc
feat: Save HTML source to file when tidy validation fails during test ( #3646 )
...
Instead of dumping the whole source code to the console.
2022-03-15 08:48:13 -05:00
Jennifer Richards
9d8f4ea207
Fix failing tests
...
- Legacy-Id: 19982
2022-02-24 16:47:55 +00:00
Jennifer Richards
6c260a5b7e
Merge 7.45.1.dev0 into Bootstrap 5 update branch. Made a first pass at reconciling differences.
...
- Legacy-Id: 19945
2022-02-17 20:09:49 +00:00
Lars Eggert
bbf088e18b
Hopefully the final check-ins.
...
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00
Lars Eggert
ed30521e14
Many more HTML fixes.
...
- Legacy-Id: 19908
2022-02-03 07:49:34 +00:00
Lars Eggert
64d2ba2558
Run tidy as part of tests, and fix HTML issues it finds.
...
- Legacy-Id: 19904
2022-02-01 16:11:34 +00:00
Jennifer Richards
fd0df6f619
Add ability to import session minutes from notes.ietf.org. Mock out calls to the requests library in tests. Call markdown library through a util method. Fixes #3489 . Commit ready for merge.
...
- Legacy-Id: 19763
2021-12-09 17:16:19 +00:00
Lars Eggert
f974fd3c04
Fix more things
...
- Legacy-Id: 19762
2021-12-09 06:41:00 +00:00
Jennifer Richards
dcf4251363
Better handle invalid character encodings in process_email and feedback_email commands. Add tests of this using stdin. Commit ready for merge.
...
- Legacy-Id: 19694
2021-11-19 00:41:05 +00:00
Jennifer Richards
81d9234d54
Use temporary directories instead of "real" filesystem for tests. Fixes #3414 . Commit ready for merge.
...
- Legacy-Id: 19555
2021-11-05 19:45:57 +00:00
Jennifer Richards
968b775315
Create management command base class that sends emails on exceptions. Fixes #3356 and #3357 . Commit ready for merge.
...
- Legacy-Id: 19493
2021-10-29 01:58:21 +00:00
Jennifer Richards
6cf9eb8dd1
Allow secretariat to edit document author list. Fixes #3185 . Commit ready for merge.
...
- Legacy-Id: 18989
2021-05-11 18:40:28 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
a708bdf895
Refactored out a new test case DrafTestCase in order to re-use it to set up test directories with draft content, and updated the StatisticsTest to subclass it.
...
- Legacy-Id: 18783
2020-12-19 22:42:36 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Jennifer Richards
d67b298512
Use reworked filtering for ical agendas; refactor filter UI with office hours buttons and nicer formatting
...
- Legacy-Id: 18619
2020-10-16 16:06:07 +00:00
Henrik Levkowetz
bc05e7a8d0
Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
...
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00
Henrik Levkowetz
9aeda11a29
Removed some Py2 compatibility decorators.
...
- Legacy-Id: 17673
2020-04-21 13:54:31 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
ab173cb2eb
Removed further six usage: six.string_types, six.integer_types, six.moves.urllib instances.
...
- Legacy-Id: 17390
2020-03-05 20:46:58 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
36cac48063
Fixed a bunch of str/bytes issues.
...
- Legacy-Id: 16341
2019-06-30 20:54:09 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
ca1f3340c0
Changed a ReviewAssignmentDocEvent type from 'closed_review_request' to 'closed_review_assignment', for consistency and readability.
...
- Legacy-Id: 16181
2019-05-02 12:38:41 +00:00
Henrik Levkowetz
1530a6c394
Added a new TestCase assertion: assertMailboxContains(), to be able to better express some test cases.
...
- Legacy-Id: 14139
2017-09-19 19:47:48 +00:00
Henrik Levkowetz
db96292229
Added a utility function to show just the text content of the test client response.
...
- Legacy-Id: 13737
2017-06-30 11:45:24 +00:00
Henrik Levkowetz
76628be3fd
Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
...
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00
Ole Laursen
5b677dc6ba
Merge author stats branch into new branch from trunk
...
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Henrik Levkowetz
14c748df98
Changed the creation of temporary test dirs to use names which include the test class name, in order to make it possible to run test cases in parallel. Disabled coverage testing when running in parallel (those classes cannot be pickled and distributed to the test runner threads, and also won't pass coverage data back). Tweaked the TestCase.tempdir() method.
...
- Legacy-Id: 13157
2017-03-27 21:41:18 +00:00
Henrik Levkowetz
53481eebd8
Added a utility function to create a test-class specific temporary directory.
...
- Legacy-Id: 13026
2017-03-19 19:25:26 +00:00
Henrik Levkowetz
3c6f00869f
Dead code removal: meeting models and test_utils.
...
- Legacy-Id: 12965
2017-03-04 05:19:39 +00:00
Henrik Levkowetz
9fb1a8e05f
Tweaked an import to make Python 2to3 able to handle it.
...
- Legacy-Id: 12922
2017-02-26 10:54:33 +00:00
Henrik Levkowetz
858d855eff
Changed the new account creation to require a proper name at the same time as the account password is set, before actually creating the account. Also tweaked the password strength and confirmation code.
...
- Legacy-Id: 12892
2017-02-20 16:50:39 +00:00
Ole Laursen
4426e3386f
Add assertNoFormPostErrors for use instead of testing the status code
...
of form post responses to make it easier to see what goes wrong when
the form in a test suddently doesn't validate
- Legacy-Id: 12744
2017-01-27 13:27:19 +00:00
Henrik Levkowetz
b914f46313
Merged in ^/branch/iola/review-tracker-r12128@12397, bringing in the review tool functionality described in RFC7735. This adds the ability to set up review management pages for review teams such as genart, secdir, opsdir, etc.; letting the review team secretaries manage requested and completed reviews; letting the reviewers keep track of and document their reviews, and more. See the RFC for full specification, and the branch commit log for a full commit history.
...
- Legacy-Id: 12419
2016-11-29 14:54:19 +00:00
Robert Sparks
be51bc2e78
Change the lines saying that a test has failed to make it easier to cut-paste to run the failed test again. Commit ready for merge.
...
- Legacy-Id: 12378
2016-11-17 02:52:45 +00:00
Henrik Levkowetz
a36cf95572
Refactored the code to skip coverage testing a bit, and added skipping of template and url coverage.
...
- Legacy-Id: 11472
2016-06-24 15:39:59 +00:00
Henrik Levkowetz
6fa181763b
Changed the code test coverage checking to never register coverage counts for tests that are sometimes skipped. Removed now unwanted skip settings from the releasetest settings.
...
- Legacy-Id: 11453
2016-06-21 20:39:28 +00:00
Ole Laursen
44e135345c
Add a page for displaying a review request, add support for
...
withdrawing requests, add tests for these two pages
- Legacy-Id: 11217
2016-05-20 14:14:31 +00:00