Sajith Sasidharan
|
66dd2d3658
|
Use docstrings
|
2020-07-16 17:19:50 -04:00 |
|
Sajith Sasidharan
|
8db60e3486
|
Do the simple thing when testing status subpaths
|
2020-07-16 17:16:18 -04:00 |
|
Sajith Sasidharan
|
95642ae02c
|
Use a helper to check status subpath results
|
2020-07-16 17:13:36 -04:00 |
|
Sajith Sasidharan
|
e48d930621
|
Clarify intention of a test case
|
2020-07-16 16:56:41 -04:00 |
|
Sajith Sasidharan
|
6a2ce9efc6
|
Use docstrings
|
2020-07-16 16:55:12 -04:00 |
|
Itamar Turner-Trauring
|
a4620bf176
|
Automated port of the test module.
|
2020-07-16 15:58:39 -04:00 |
|
Itamar Turner-Trauring
|
e90d1f38d2
|
Make TimezoneMixin importable on Python 3.
|
2020-07-16 15:44:41 -04:00 |
|
Itamar Turner-Trauring
|
554be90b7e
|
Unnecessary code, and was triggering flake8.
|
2020-07-16 15:27:36 -04:00 |
|
Itamar Turner-Trauring
|
72272cbf0b
|
Move out tests for time_format.
|
2020-07-16 15:15:26 -04:00 |
|
Itamar Turner-Trauring
|
545848f164
|
Move abbreviate tests into their own module.
|
2020-07-16 14:57:09 -04:00 |
|
Itamar Turner-Trauring
|
4da8e2ddee
|
Merge branch '3342-base32-and-base62-to-python-3' into 3344.netstring-and-hashutil-to-python-3
|
2020-07-16 14:42:09 -04:00 |
|
Itamar Turner-Trauring
|
8d143af43e
|
Another assertion.
|
2020-07-16 14:40:30 -04:00 |
|
Itamar Turner-Trauring
|
efbae9b3e3
|
Hard code some known values, generated on the master branch preceding these
changes.
|
2020-07-16 14:33:53 -04:00 |
|
Itamar Turner-Trauring
|
7abc54c429
|
Merge remote-tracking branch 'origin/master' into 3342-base32-and-base62-to-python-3
|
2020-07-16 14:21:42 -04:00 |
|
Jean-Paul Calderone
|
c493396148
|
Merge pull request #740 from tahoe-lafs/3340-unused-code-in-util
Delete some dead code.
Fixes: ticket:3340
|
2020-07-15 20:08:41 -04:00 |
|
Sajith Sasidharan
|
80bf5f0a53
|
Remove an unused import
|
2020-07-15 19:19:51 -04:00 |
|
Sajith Sasidharan
|
7f93e28a7c
|
Parameterize classes used in check/repair tests
|
2020-07-15 18:43:52 -04:00 |
|
Sajith Sasidharan
|
2d7095866a
|
Expand "deep check and repair results" page test
|
2020-07-15 17:10:48 -04:00 |
|
Sajith Sasidharan
|
8fedbd52c2
|
Expand "deep check and repair" test
|
2020-07-15 16:58:39 -04:00 |
|
Sajith Sasidharan
|
6969366370
|
Document, use, and test "join pathstring" method
|
2020-07-15 16:40:05 -04:00 |
|
Itamar Turner-Trauring
|
4800992de6
|
Type check assertions.
|
2020-07-15 14:58:58 -04:00 |
|
Sajith Sasidharan
|
3c079bef73
|
Expand "deep check results" test
|
2020-07-15 13:35:22 -04:00 |
|
Itamar Turner-Trauring
|
e3e29598e4
|
A couple of missing explicit byte strings.
|
2020-07-15 11:13:52 -04:00 |
|
Itamar Turner-Trauring
|
cfb11f7f4c
|
More explicit testing of types.
|
2020-07-15 11:08:06 -04:00 |
|
Itamar Turner-Trauring
|
093125ca43
|
Port to Python 3.
|
2020-07-15 11:05:23 -04:00 |
|
Itamar Turner-Trauring
|
d316ad3ebd
|
A more explicit test.
|
2020-07-15 11:02:49 -04:00 |
|
Itamar Turner-Trauring
|
2b89674052
|
Everything must be bytes.
|
2020-07-15 11:01:45 -04:00 |
|
Itamar Turner-Trauring
|
9ed91eabb3
|
Split out hashutil tests into their own module.
|
2020-07-15 10:58:05 -04:00 |
|
Sajith Sasidharan
|
1ed722494c
|
Add a FakeServer class for testing
|
2020-07-15 10:35:56 -04:00 |
|
Sajith Sasidharan
|
6322404b1e
|
Update "deep check results renderer" test
|
2020-07-14 21:44:41 -04:00 |
|
Itamar Turner-Trauring
|
a81e859b82
|
Fix flake error.
|
2020-07-14 13:44:56 -04:00 |
|
Itamar Turner-Trauring
|
27d8eb47fc
|
Test improvements.
|
2020-07-14 13:44:00 -04:00 |
|
Itamar Turner-Trauring
|
db41d5af6f
|
Merge pull request #743 from tahoe-lafs/3342-more-tests-for-base32-base62
Fixes https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3343
|
2020-07-14 13:41:20 -04:00 |
|
Itamar Turner-Trauring
|
f3db64ad74
|
Port to Python 3.
|
2020-07-14 11:29:09 -04:00 |
|
Itamar Turner-Trauring
|
9c428be0e2
|
Port base62 to Python 3.
|
2020-07-14 11:24:45 -04:00 |
|
Itamar Turner-Trauring
|
b1e732fb9a
|
Port test_base62 to Python 3.
|
2020-07-14 10:34:53 -04:00 |
|
Itamar Turner-Trauring
|
e34a01d547
|
A couple more asserts.
|
2020-07-14 10:28:22 -04:00 |
|
Itamar Turner-Trauring
|
459d68118c
|
Merge branch '3342-more-tests-for-base32-base62' into 3342-base32-and-base62-to-python-3
|
2020-07-14 10:26:46 -04:00 |
|
Itamar Turner-Trauring
|
f378edd9d8
|
Fix missing import.
|
2020-07-14 10:20:51 -04:00 |
|
Sajith Sasidharan
|
54e952ceda
|
Test for 404 responses from status page subpaths
|
2020-07-14 09:01:31 -04:00 |
|
Sajith Sasidharan
|
abd539588f
|
Rename nested functions for clarity
... and also to remove embarrassing copy-pasta mistakes.
|
2020-07-13 20:52:12 -04:00 |
|
Sajith Sasidharan
|
b48556c2cb
|
Add tests for status subpages
Coverage tests for the coverage gods
|
2020-07-13 20:44:30 -04:00 |
|
Itamar Turner-Trauring
|
ead2a79cf7
|
Everything should be bytes.
|
2020-07-13 16:21:15 -04:00 |
|
Itamar Turner-Trauring
|
6464e226c6
|
Hypothesis-based roundtrip test.
|
2020-07-13 16:19:48 -04:00 |
|
Itamar Turner-Trauring
|
828e6bc28a
|
Minimal tests for could_be_base32_encoded().
|
2020-07-13 16:18:13 -04:00 |
|
Itamar Turner-Trauring
|
bbfd39e6c0
|
Test larger variety of inputs using hypothesis.
|
2020-07-13 15:30:11 -04:00 |
|
Itamar Turner-Trauring
|
a8a7d48c12
|
Everything must be bytes.
|
2020-07-13 15:25:07 -04:00 |
|
Itamar Turner-Trauring
|
f27cba181e
|
Move existing base32 tests out of test_util.py.
|
2020-07-13 15:22:03 -04:00 |
|
Itamar Turner-Trauring
|
af916c3968
|
Merge branch 'master' into 3341-more-python-3-utils
|
2020-07-13 14:30:11 -04:00 |
|
Sajith Sasidharan
|
144001f380
|
Use a better assert in status subpath test
|
2020-07-11 08:30:39 -04:00 |
|