https://github.com/localgovdrupal/localgov_publications_importer_test_data
Test data for localgovdrupal/localgov_publications_importer
https://github.com/localgovdrupal/localgov_publications_importer_test_data
Last synced: 5 months ago
JSON representation
Test data for localgovdrupal/localgov_publications_importer
- Host: GitHub
- URL: https://github.com/localgovdrupal/localgov_publications_importer_test_data
- Owner: localgovdrupal
- Created: 2025-08-01T17:14:08.000Z (11 months ago)
- Default Branch: 1.x
- Last Pushed: 2025-10-31T00:13:10.000Z (8 months ago)
- Last Synced: 2025-10-31T02:27:43.484Z (8 months ago)
- Size: 75 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Publications Importer Test Data.
This is a collection of PDF files that are used to test
localgovdrupal/localgov_publications_importer.
These files are placed in a separate project so the publications importer can be
installed without including the test data.
Files are stored under data, and then a directory named for the council that
provided the PDF.
Each file must be added to the manifest.json file in data, which provides file
metadata that's used for testing.
For example, each object in the JSON represents one file:
```JSON
{
"filename": "southwark/HMO licensing conditions_1.pdf",
"title": "Private Rented Sector Property Licensing",
"page_count": 10,
"links": {
"2": [
"Energy \nPerformance Certificate (EPC) Rating of less than āEā"
]
}
}
```
* filename is the path to the file.
* title is the title stored in the file.
* page_count is how many pages the file has.
* links is optional. This stores an object mapping of page number to an array of links. The tests will ensure that each link in the array can be found in the content of the given page.