Commit graph

27 commits

Author SHA1 Message Date
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +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 f1172b5647 Replaced multiple asserts with assertContains().
- Legacy-Id: 16348
2019-07-01 11:47:36 +00:00
Robert Sparks 6118975620 Added an explicit ID-Exists state for the IESG state machine. Reworked code so that the IESG state machine always has a state. Added the ability to release a document from a working group, research group, or the independent stream. Releasing a document removes all stream state, and sets the document to have no stream.
- Legacy-Id: 15809
2018-12-11 22:38:05 +00:00
Henrik Levkowetz 3508f59f52 Merged in [15596] from rjsparks@nostrum.com:
improved coverage for several tests.
 - Legacy-Id: 15600
Note: SVN reference [15596] has been migrated to Git commit 6f18ae882532433ba86322b33c34f5f1b0350cb9
2018-10-19 14:27:13 +00:00
Robert Sparks 87bda66740 Converted several secr apps to use factories for tests. Commit ready for merge.
- Legacy-Id: 15568
2018-10-12 22:08:31 +00:00
Ryan Cross 7df5ed1ca4 Update secr/drafts/tests_views to align with view logic. Fixes #2480. Commit ready for merge.
- Legacy-Id: 15351
2018-07-14 20:59:17 +00:00
Ryan Cross 2d6083060a Remove duplicate functionality in secr/drafts. Fixes #2540. Commit ready for merge.
- Legacy-Id: 15345
2018-07-14 19:25:09 +00:00
Robert Sparks f64bf957f3 Restored a test that was unintentionally removed. Removed unused templates. Related to #2513. Commit ready for merge.
- Legacy-Id: 15114
2018-05-03 18:42:59 +00:00
Robert Sparks 82681b28dd Removed the "announce" functionality from /secr/drafts. Addresses part of #2513. Commit ready for merge.
- Legacy-Id: 15112
2018-05-03 17:26:11 +00:00
Robert Sparks c3241bddac Removed the "replaces" functionality from /secr/drafts. Addresses part of #2513. Commit ready for merge.
- Legacy-Id: 15111
2018-05-03 17:17:14 +00:00
Robert Sparks 79f2f5869f Improvements to test coverage for ietf/secr/drafts/views.py. Commit ready for merge.
- Legacy-Id: 14900
2018-03-22 15:34:50 +00:00
Henrik Levkowetz ccf170bb5f Modified a test to make it less sensitive to timing vagaries causing arbitrary failures.
- Legacy-Id: 13846
2017-07-12 15:24:39 +00:00
Henrik Levkowetz 2070bbfed6 Merged in [13722] and [13712] from rcross@amsl.com:
Remove all use of request.session from secretariat apps.  Add tests for affected views.  Fixes #1455.
 - Legacy-Id: 13724
Note: SVN reference [13712] has been migrated to Git commit 915b445bcffcd4687fb1677230b98282d22dd9a0

Note: SVN reference [13722] has been migrated to Git commit 3a2cb9d3d846168f75d9796b4e5383bdf10b1f60
2017-06-28 14:55:10 +00:00
Ryan Cross 3ccb550888 Change views that use GET requests to delete objects to use POST. Fixes #1796. Commit ready for merge.
- Legacy-Id: 13615
2017-06-13 23:33:31 +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
Lars Eggert 8a70e9773d Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz 5f053ad21a Cleaned up the remaining explicit url names, using dotted-paths to view
functions instead.  In all almost 700 changes.
 - Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz 74af0f5658 Replaced another bunch of explicit url names with dotted-path to the view function.
- Legacy-Id: 12849
2017-02-15 22:11:20 +00:00
Henrik Levkowetz e6a005dba6 Added a score of setting save/restores to test setup/teardown actions.
- Legacy-Id: 11436
2016-06-21 07:51:02 +00:00
Henrik Levkowetz 4cac784522 Renamed a bunch of identically named MainTestCase classes.
- Legacy-Id: 10913
2016-03-06 18:18:38 +00:00
Henrik Levkowetz b00b0c3db9 Moved some production-path checks to the checks module, and fixed up tests which changed some settings without restoring them.
- Legacy-Id: 10808
2016-02-09 18:50:37 +00:00
Henrik Levkowetz 8b12a0fa03 Merged in [10591] from housley@vigilsec.com:
Added a negative test to ensure the RFC Editor is not included on notifications of manual posts by the Secretariat unless the document is in the RFC Editor Queue.

Also added a directory for staging of manually submitted drafts, instead of using hardcoded /tmp/, and added creation and removal of a test directory for this.
 - Legacy-Id: 10638
Note: SVN reference [10591] has been migrated to Git commit 4a2868cef5
2016-01-11 22:44:01 +00:00
Russ Housley 4a2868cef5 Added a negative test to ensure the RFC Editor is not included on notifications of manual posts by the Secretariat unless the document is in the RFC Editor Queue.
- Legacy-Id: 10591
2015-12-14 21:05:49 +00:00
Russ Housley 014e79f716 Added automated tests for the fix for ticket #1751.
- Legacy-Id: 10586
2015-12-11 22:56:34 +00:00
Ryan Cross 9c9ac7ea3a Fix pyflakes errors in secr/drafts/tests_views.py. Commit ready for merge
- Legacy-Id: 9308
2015-03-21 20:36:28 +00:00
Ryan Cross 34a16483fa Improve test coverage of secr.drafts. Commit ready for merge.
- Legacy-Id: 9307
2015-03-21 20:26:53 +00:00