Jennifer Richards
|
32054111df
|
fix: fix failing tests and eliminate naive datetime warnings (#4402)
* test: fix timestamp construction in several doc tests
* refactor: rename date2datetime to datetime_from_date and clarify code
* chore: helper to get tzinfo for PRODUCTION_TIMEZONE
* fix: fix timezone handling in make_last_call()
* test: fix datetime generation in doc.tests_charter
* refactor: remove PRODUCTION_TIMEZONE setting
Replaces the PRODUCTION_TIMEZONE setting with a constant,
DEADLINE_TZINFO, in ietf.utils.timezone.
* test: be more careful about timezone in tests_charter.py
* test: be more careful about timezone in doc/tests.py
* fix: fix timezone handling affecting doc.tests_draft
* fix: fix timezone handling affecting tests_irsg_ballot.py
* fix: fix timezone handling affecting tests_review.py
* fix: fix timezone handling affecting last ietf.doc tests
* fix: fix timezone handling affecting last ietf.group tests
* fix: fix timezone handling affecting ietf.iesg tests
* fix: handle timezones in get_8989_eligibility_querysets
* fix: handle timezones affecting ietfauth tests
* fix: return tz-aware datetime from utc_from_string
* fix: specify timezone for constants in ipr_rfc_number()
* fix: specify tz for ipr deadlines
* fix: handle timezones affecting liaisons tests
* fix: treat leap day in get_8989_eligibility_querysets()
Manual cherry-pick of 248d6474
* test: treat leap day properly in nomcom tests
* fix: fix timezone handling affecting nomcom tests
* test: fix timezone handling in review tests
* fix: fix timezone handling affecting secr.meetings tests
* fix: handle both pytz and zoneinfo timezones in ietf.utils.timezone
* fix: fix timezone handling affecting secr.proceedings tests
* refactor: use make_aware() helper in secr.meetings tests
* test: fix timezone handling in secr.telechat tests
* fix: fix timezone handling affecting stats tests
* fix: eliminate tz-naive helpers affecting sync email parsing
* fix: include timezone data when serializing DeletedEvent data
* fix: fix timezone handling affecting sync tests
* style: remove unused import
|
2022-09-01 13:07:28 -03: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 |
|
Robert Sparks
|
3697180cc1
|
Reverted merge of timezone-aware migration efforts.
- Legacy-Id: 18792
|
2021-01-12 16:54:20 +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 |
|
Henrik Levkowetz
|
726fcbf27d
|
Removed all __future__ imports.
- Legacy-Id: 17391
|
2020-03-05 23:53:42 +00:00 |
|
Ole Laursen
|
3957743b85
|
Move Session.status, .requested, and .requested_by to a new SchedulingEvent
- Legacy-Id: 17122
|
2019-12-05 12:41:09 +00:00 |
|
Ole Laursen
|
0555879777
|
Rename Meeting.agenda to Meeting.schedule together with a bunch of
related internal things
- Legacy-Id: 17051
|
2019-11-18 17:22:19 +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
|
f33ecaa1a4
|
Fixed a test that compared an int with a meeting number string. Changed meeting test data to use meeting number 72 instead of 42, because proceedings code gives 404 for meetings before 65. Changed a number of StringIO() to BytesIO().
- Legacy-Id: 16378
|
2019-07-04 16:01:32 +00:00 |
|
Henrik Levkowetz
|
f5ae2541ad
|
Replaced multiple asserts with assertContains().
- Legacy-Id: 16353
|
2019-07-01 14:09:12 +00:00 |
|
Henrik Levkowetz
|
426870b766
|
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
- Legacy-Id: 16261
|
2019-06-15 12:00:48 +00:00 |
|
Henrik Levkowetz
|
a2cafded25
|
Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
- Legacy-Id: 16249
|
2019-06-14 20:38:14 +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 |
|
Henrik Levkowetz
|
fcbbe08eba
|
Removed video url import from youtube, which is not needed any more given the /api/meeting/session/video/url API endpoint. This also prevents duplicate video URLs.
- Legacy-Id: 15424
|
2018-08-10 12:54:27 +00:00 |
|
Henrik Levkowetz
|
2e20d9df66
|
Changed all instances of deprecated self.failUnless() unittest method to self.assertTrue().
- Legacy-Id: 13515
|
2017-06-04 16:24:34 +00:00 |
|
Henrik Levkowetz
|
d23650e382
|
Merged in [13492] from rcross@amsl.com:
Remove old proceedings generation code. Fixes #2234.
- Legacy-Id: 13510
Note: SVN reference [13492] has been migrated to Git commit 254e35fa56
|
2017-06-04 13:09:16 +00:00 |
|
Ryan Cross
|
254e35fa56
|
Remove old proceedings generation code. Fixes #2234. Commit ready for merge.
- Legacy-Id: 13492
|
2017-06-01 23:59:56 +00:00 |
|
Ryan Cross
|
7ee2a16967
|
Add import of YouTube session videos using YouTube Data API. Fixes #2249. Commit ready for merge.
- Legacy-Id: 13485
|
2017-06-01 18:36:46 +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
|
0af1223b3c
|
Merged in [12990] and [12991] from rcross@amsl.com:
Refactor session audio file import. Add informative email. Fixes #2164.
- Legacy-Id: 12998
Note: SVN reference [12990] has been migrated to Git commit 084f8a7495
Note: SVN reference [12991] has been migrated to Git commit 6a5f180fb0
|
2017-03-12 12:15:37 +00:00 |
|
Ryan Cross
|
084f8a7495
|
Refactor session audio file import. Add informative email. Fixes #2164. Commit ready for merge
- Legacy-Id: 12990
|
2017-03-10 23:04:06 +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 |
|
Robert Sparks
|
0f6e3f434e
|
Closed off the old paths for materials upload (redirecting some old entry points). Commit ready for merge.
- Legacy-Id: 12000
|
2016-09-19 19:06:22 +00:00 |
|
Ryan Cross
|
f5fab30d63
|
Fix bug with main secr/proceedings page and add test. Commit ready for merge.
- Legacy-Id: 11849
|
2016-08-23 18:18:09 +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
|
d298785fda
|
Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961, #1962 and #1964.
- Legacy-Id: 11402
|
2016-06-17 14:16:27 +00:00 |
|
Ryan Cross
|
8fef55dc31
|
add approval and cancel notifications
- Legacy-Id: 11196
|
2016-05-16 22:48:43 +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
|
cf7d794b09
|
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
- Legacy-Id: 10418
|
2015-11-04 07:34:56 +00:00 |
|
Ryan Cross
|
8c82fef683
|
Add more information to Secretariat session recordings view. Commit ready for merge
- Legacy-Id: 10348
|
2015-10-31 09:00:15 +00:00 |
|
Robert Sparks
|
1e30120710
|
checkpoint. Model changes done and UI tweaked to match.
- Legacy-Id: 9588
|
2015-04-30 15:57:48 +00:00 |
|
Henrik Levkowetz
|
6f285a12f4
|
Changed the handling of some test directory creation and removal code, to be more consistent. Fixed a problem where a test didn't create and remove a test directory it used.
- Legacy-Id: 9203
|
2015-03-15 16:01:15 +00:00 |
|
Ryan Cross
|
e686c5c7f5
|
Allow upload of bluesheets via materials upload interface
- Legacy-Id: 8857
|
2015-01-09 21:29:57 +00:00 |
|
Ryan Cross
|
96bccc7b17
|
changes to support video content in proceedings ('recording' document type). Commit ready for merge
- Legacy-Id: 8237
|
2014-08-04 17:17:52 +00:00 |
|
Ryan Cross
|
61668dba80
|
changes to support input of session recordings
- Legacy-Id: 8216
|
2014-07-30 21:55:42 +00:00 |
|
Henrik Levkowetz
|
b02b0a96df
|
All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
- Legacy-Id: 7579
|
2014-04-06 20:04:36 +00:00 |
|
Henrik Levkowetz
|
02031a01b9
|
Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
- Legacy-Id: 7495
|
2014-03-16 07:09:38 +00:00 |
|
Henrik Levkowetz
|
f9b76bff13
|
Made ietf/secr/proceedings pyflakes-clean.
- Legacy-Id: 7492
|
2014-03-15 23:31:09 +00:00 |
|
Henrik Levkowetz
|
5bef5d11ae
|
Made doc/ pyflakes-clean.
- Legacy-Id: 7462
|
2014-03-15 16:09:47 +00:00 |
|
Ole Laursen
|
d1782297ab
|
assertEquals -> assertEqual in tests, the former is deprecated
- Legacy-Id: 6964
|
2013-12-17 12:52:24 +00:00 |
|
Ole Laursen
|
9457669310
|
Merge in changes from the old shimfree branch
- Legacy-Id: 6764
|
2013-11-27 12:55:50 +00:00 |
|
Henrik Levkowetz
|
e4f4467725
|
Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
- Legacy-Id: 6320
|
2013-09-30 20:36:20 +00:00 |
|
Ole Laursen
|
c191a691e0
|
Remove "names" fixture from all tests, since it's now loaded once just
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
- Legacy-Id: 6305
|
2013-09-29 17:35:59 +00:00 |
|
Henrik Levkowetz
|
7e67b40a87
|
Merged in branch/amsl/trunkmerge@5449 from rcross@amsl.com, with some tweaks. This provides the secretariat apps.
- Legacy-Id: 5482
|
2013-03-05 22:43:31 +00:00 |
|