-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Simplify testing by making 'source_config.json' and 'source_metadata.csv' serve as test data * Add fixture 'mocked_s3_bucket_bitstreams' to show full S3 file path for bitstreams * Add fixture for metadata csv with 'bitstreams' column (test/fixtures/updated-source_metadata.csv) * Update fixture 'web_mock' to clarify mocked requests: * Update test_cli.py to use updated CLI command args * Deprecate 'mocked_s3' fixture
- Loading branch information
1 parent
12767a5
commit 7eb7492
Showing
7 changed files
with
228 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
item_identifier,title,author | ||
001,Title 1,May Smith | ||
002,Title 2,May Smith | ||
003,Title 3,June Smith | ||
004,Title 4,June Smith | ||
005,Title 5,July Smith |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
item_identifier,title,author,bitstreams | ||
001,Title 1,May Smith,['s3://mocked-bucket/one-to-one/aaaa_001_01.pdf'] | ||
002,Title 2,May Smith,['s3://mocked-bucket/one-to-one/aaaa_002_01.pdf'] | ||
003,Title 3,June Smith,"['s3://mocked-bucket/many-to-one/bbbb_003_01.jpg', 's3://mocked-bucket/many-to-one/bbbb_003_01.pdf', 's3://mocked-bucket/many-to-one/bbbb_003_02.pdf']" | ||
004,Title 4,June Smith,['s3://mocked-bucket/many-to-one/bbbb_004_01.pdf'] | ||
005,Title 5,July Smith,['s3://mocked-bucket/nested/prefix/objects/include_005_01.pdf'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.