Commit Graph

76 Commits

Author SHA1 Message Date
Simeon Warner
51b384cc07 Give time to terminate 2021-03-23 08:15:42 -04:00
Simeon Warner
9db9950efc Use url_or_file_open() in places previously missed 2021-03-18 21:51:19 -04:00
Simeon Warner
f5cd751c67 Remove py2.6 cruft 2021-03-18 19:59:50 -04:00
Simeon Warner
785e851f64 Fix test 2020-12-24 13:27:59 -05:00
Simeon Warner
9ffa84a768 Tidy and test 2020-12-24 13:00:09 -05:00
Simeon Warner
518fd94e5c Tidy and flesh out tests 2020-12-24 11:07:55 -05:00
Simeon Warner
065363e462 Use OrderedDict now we have python3 2020-12-24 09:00:24 -05:00
Simeon Warner
464f650bea Add testdata with a symlink 2020-12-22 09:53:19 -05:00
Simeon Warner
a8a193e325 Tidy and tests 2020-12-22 09:50:58 -05:00
Simeon Warner
42d9269754 Tidy and add tests 2020-12-21 16:22:27 -05:00
Simeon Warner
e3df46b37d Add tests 2020-12-21 14:55:39 -05:00
Simeon Warner
b5c3142435 Use spec_version to correctly handle incrementals using ChangeList 2020-12-16 12:30:04 -05:00
Simeon Warner
fa8db5fec6 Make v1.1 the default, change include_lastmod to add_lastmod 2020-12-15 13:14:30 -05:00
Simeon Warner
b669b3d88f Change default to v1.1 2020-12-15 11:55:30 -05:00
Simeon Warner
9a789d1b75 Complete working through 1.1 examples 2020-12-13 12:36:35 -05:00
Simeon Warner
3d2a7fcfd9 replace example opener with reader 2020-12-13 12:21:02 -05:00
Simeon Warner
d0dbd4029a Add 1.1 examples 2020-12-13 11:57:35 -05:00
Simeon Warner
82442f8122 Add spec_version and include_lastmod, add resource.datetime 2020-12-13 11:56:50 -05:00
Simeon Warner
73273f37a8 Move examples from v1.0 into tests/testdata/examples_from_spec_v1_0 and adjust tests 2020-12-13 10:33:30 -05:00
Simeon Warner
92615b9d93 Change from optparse to argparse, part 3 2020-12-13 10:18:28 -05:00
Simeon Warner
8a6ac8d28a Move scripts back to bin directory 2020-12-12 10:30:29 -05:00
Simeon Warner
020866bf64 Fix for python 3.8 2020-12-11 08:06:49 -05:00
Simeon Warner
a2db071f3e Tidy, remove py2 support 2020-12-10 20:19:22 -05:00
Simeon Warner
54ecef29ad Fix element order in python 3.8 2020-12-10 18:48:59 -05:00
Simeon Warner
82524969ec Tidy, remove py2 support 2020-12-10 18:09:41 -05:00
Simeon Warner
3b61c37778 Drop python 2.7 2020-12-10 13:00:32 -05:00
Simeon Warner
a15b4c50ce Fix errors with 3.6, tidy 2020-12-10 07:24:00 -05:00
Simeon Warner
9de1e5b51e More tests 2018-10-23 10:45:58 -04:00
Mark Allen Matney, Jr
a18d221a1f make pycodestyle happy 2018-10-02 11:44:30 -07:00
Mark Allen Matney, Jr
3d14c31a1c fix client tests by ensuring that requests.get only sees HTTP URLs 2018-10-02 11:38:52 -07:00
Simeon Warner
cd5e9ce826 Extend pep257 checks 2017-08-30 13:24:51 -04:00
Simeon Warner
5868df066a Tidy to remove __main__ block 2017-08-30 13:11:19 -04:00
Simeon Warner
6e7e81fd48 Use tests.testcase_with_tmpdir to get temd dir for write test 2017-08-30 13:04:23 -04:00
Simeon Warner
a04a0aa912 Merge pull request #32 from UCLALibrary/#31
fixes #31
2017-08-30 12:48:44 -04:00
Mark Allen Matney, Jr
8746c3d43b fixes #31 2017-08-29 22:01:09 -07:00
Simeon Warner
2f3fc40b58 Adjust client options 2017-04-13 00:04:37 -04:00
Simeon Warner
436668e9c6 Fix in py2 2017-04-12 15:57:46 -04:00
Simeon Warner
bd0db884b5 Find map + tests 2017-04-11 15:39:17 -04:00
Simeon Warner
75de9c83a5 Fix resync-explorer silly error and add test to avoid repeat ;-) 2017-03-27 13:55:46 -04:00
Simeon Warner
941cba41b1 Fix MD5 hash formatting 2017-03-20 17:08:44 -04:00
Simeon Warner
e0b9e24b6b pep8 fixes 2017-03-20 15:25:20 -04:00
Simeon Warner
6ddcd16814 Support multiple hash types 2017-03-20 15:19:54 -04:00
Simeon Warner
dccc44dbd7 Add py36, tweak test data dir 2017-01-30 10:38:12 -05:00
Simeon Warner
e69fa26a99 py2 hack for reading unicode filenames 2017-01-27 21:22:54 -05:00
Simeon Warner
95bcd71909 Unicode XML from unicode input, py2.x fix 2017-01-27 21:06:39 -05:00
Simeon Warner
349a51b6fe Localize test dirs read 2017-01-27 20:48:41 -05:00
Simeon Warner
9c09624543 Test data for non ASCII filenames #22 2017-01-27 20:20:13 -05:00
Simeon Warner
b26ee622da pep8 2016-05-08 16:58:14 -04:00
Simeon Warner
32673becbd Tidy 2016-05-06 23:26:39 -04:00
Simeon Warner
c23eb84615 Remove unused dumpfiles param, tidy and test 2016-05-06 23:26:10 -04:00