https://github.com/dathere/testing-datapusher-plus
https://github.com/dathere/testing-datapusher-plus
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dathere/testing-datapusher-plus
- Owner: dathere
- Created: 2023-03-03T14:01:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T15:52:55.000Z (almost 3 years ago)
- Last Synced: 2025-03-11T11:42:58.446Z (about 1 year ago)
- Language: Python
- Size: 556 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tests for datapusher-plus
A Tool used to test datapusher plus
Clone the repo and edit the API key and URL endpoints
## Installation
To run this you need to have a dataset named "test_dataset" in your ckan instance
```bash
git clone https://github.com/dathere/testing-datapusher-plus.git
cd testing-datapusher-plus
nano test.py
pip install -r requirements.txt
python test.py
```
## Add Custom values
Change the values in config.ini
```bash
1.Add API token
2.Create a public test dataset in ckan and add the name in config file
3.Add the base url
```
## Add files
To add custom test files to the test
```bash
1) Add the files in the csvs folder
2) Add the processed files in the csvs/expected folder
3) Add the file name and expected output in the data.csv
```