Wykres commitów

31 Commity (fce6488d35e16daf87f17467805ecd2f714b2122)

Autor SHA1 Wiadomość Data
Scott Black 02d0107510 Merge remote-tracking branch 'upstream/master' into hydroshare-content-provider 2020-01-29 10:14:01 -07:00
Scott Black 0c15cb1251 cleanup tests and formatting 2019-12-07 13:34:49 -07:00
Scott Black cb7bb0bb43 remove test parameterization and use fix regex match 2019-12-06 17:36:50 -07:00
Scott Black 776d538689 update tests and code to follow best practices pointed out in review 2019-12-06 16:31:59 -07:00
David Brochart 56e6c116f3 Add test 2019-11-05 18:01:06 +01:00
Scott Black d657453b3f update hydroshare version fetch to assume timestamp is in utc 2019-10-01 11:16:34 -06:00
Scott Black dddc45acfb reformatting with lint 2019-09-30 13:50:24 -06:00
Scott Black 21e61f3099 add hydroshare resource versioning and raise exception fetch fails 2019-09-25 14:37:19 -06:00
Scott Black d89f3a66aa update hydroshare content provider to doi and add tests 2019-09-25 09:59:44 -06:00
Kacper Kowalik (Xarthisius) 4df4fd6ab4
Download individual files instead of zip bundle 2019-09-17 15:44:56 -05:00
Kacper Kowalik (Xarthisius) a2f8228b15
Match DV hosts based on netloc instead of url 2019-09-16 15:03:12 -05:00
Kacper Kowalik (Xarthisius) 8edafd0d07
Add tests 2019-09-13 13:42:41 -05:00
Daniel Nüst a40e1799bd fix content_id for Figshare 2019-09-11 13:45:16 +02:00
Daniel Nüst f1ec646d2e add support for Figshare versions > 9 2019-09-11 13:18:20 +02:00
Daniel Nüst 698b8a1d7e try to improve test coverage 2019-09-11 13:17:48 +02:00
Daniel Nüst b2b75600c0 handle versions in Figshare properly 2019-09-09 08:37:02 +02:00
Daniel Nüst b2b6030492 initialize hosts as instance variable 2019-09-08 21:39:48 +02:00
Daniel Nüst e6cd4b19d9 reuse hosts definition in Zenodo tests 2019-09-08 14:51:17 +02:00
Daniel Nüst 0e4029bb8d add Figshare content provider
moving common functions to a DoiProvider
2019-09-08 14:51:17 +02:00
Tom Morrell 93147888c5 Reformatting and better tests 2019-06-20 13:22:17 -07:00
Tom Morrell 6d785404fb Typo 2019-06-19 08:38:24 -07:00
Tom Morrell 55b19b8369 Typo 2019-06-18 15:30:37 -07:00
Tom Morrell 87f33e3b6a Full generalization and support for CaltechDATA 2019-06-18 15:11:06 -07:00
Tim Head 8b004e06dc Apply auto formatting
Apologies to anyone finding this commit via git blame or log

run the autoformatting by

    pre-commit run --all-files
2019-06-03 21:37:25 +02:00
Tim Head 363c962efd Add a urlopen helper to Zenodo content provider
Use a helper function to inject a default user-agent header into every
request we make.
2019-05-29 22:27:09 +02:00
Tim Head 8fe9c71826 Mock urlopen calls during Zenodo tests 2019-05-29 22:27:09 +02:00
Tim Head ec8659e62f Add tests for Zenodo content provider 2019-05-29 22:27:09 +02:00
David Hoese ec6973c5fd
Fix git submodule test sha comparison 2019-04-08 08:26:44 -05:00
David Hoese 4bd1d23469
Add tests for git submodule handling 2019-04-08 08:09:23 -05:00
Tim Head e7018d7ca5 Add caching of already built repositories
Add tests for image caching

Adjust tests and main app for cached builds

Remove obsolete command-line handling

Remove print statement from test

Fix subdirectory handling

Put back exception instead of sys.exit()
2018-12-21 11:20:51 +01:00
Min RK a5d5e77ad1 move unittests into tests/unit directory
for easier test discovery so we don't skip tests without realizing
2018-12-17 13:06:28 +01:00