Skip to content

Commit f28050d

Browse files
Merge pull request #3 from AlexAlexandreAlves/dev
Dev
2 parents bfdf118 + 9a1fb0e commit f28050d

28 files changed

+1876
-161
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
BASE_URL=https://swapi.dev/api
1+
BASE_URL=https://swapi.info/api/
22
CONNECT_TIMEOUT=3.0
33
READ_TIMEOUT=5.0
44
RETRY_TOTAL=3

.github/workflows/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install -r api-batch-test/requirements.txt
26+
pip install -r requirements.txt
2727
2828
- name: Run tests
2929
run: |
30-
pytest api-batch-test/tests
30+
pytest tests
3131
3232
- name: Upload test report artifact
3333
uses: actions/upload-artifact@v4

.gitignore

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
api-batch-test/reports/html1-report.html
1+
reports/html1-report.html
22
.pytest_cache/
33
bin
44
include/
55
lib
66
src/__pycache__
7-
api-batch-test/src/__pycache__/*
8-
api-batch-test/tests/__pycache__/*
9-
api-batch-test/tests/data/__pycache__/*
10-
api-batch-test/config/__pycache__/settings.cpython-314.pyc
7+
tests/__pycache__/*
8+
tests/data/__pycache__/*
9+
config/__pycache__/settings.cpython-314.pyc
1110
reports/html1-report.html
12-
api-batch-test/tests/contract/__pycache__/test_people_contract.cpython-314-pytest-9.0.1.pyc
13-
api-batch-test/tests/test-contract/__pycache__/test_people_contract.cpython-314-pytest-9.0.1.pyc
14-
api-batch-test/tests/test-negative/__pycache__/test_negative.cpython-314-pytest-9.0.1.pyc
15-
api-batch-test/tests/test-pagination/__pycache__/test_people_pagination.cpython-314-pytest-9.0.1.pyc
16-
api-batch-test/tests/test-smoke/__pycache__/test_smoke.cpython-314-pytest-9.0.1.pyc
17-
api-batch-test/src/helpers/__pycache__/pagination.cpython-314.pyc
18-
api-batch-test/src/schemas/__pycache__/page_schema.cpython-314.pyc
19-
api-batch-test/src/schemas/__pycache__/people_schema.cpython-314.pyc
11+
tests/contract/__pycache__/test_people_contract.cpython-314-pytest-9.0.1.pyc
12+
tests/test-contract/__pycache__/test_people_contract.cpython-314-pytest-9.0.1.pyc
13+
tests/test-negative/__pycache__/test_negative.cpython-314-pytest-9.0.1.pyc
14+
tests/test-pagination/__pycache__/test_people_pagination.cpython-314-pytest-9.0.1.pyc
15+
tests/test-smoke/__pycache__/test_smoke.cpython-314-pytest-9.0.1.pyc
16+
src/helpers/__pycache__/pagination.cpython-314.pyc
17+
src/schemas/__pycache__/page_schema.cpython-314.pyc
18+
src/schemas/__pycache__/people_schema.cpython-314.pyc

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ This project provides a robust framework for testing REST. It follows Python bes
1919

2020
```
2121
API-BATCH-TEST/
22-
├── api-batch-test/
2322
│ ├── config/ # Configuration files
2423
│ ├── src/
2524
│ │ ├── helpers/ # Helper functions for tests

api-batch-test/config/settings.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

api-batch-test/tests/cassettes/test_api_available.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

api-batch-test/tests/cassettes/test_not_found_or_bounds[page-999].yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

api-batch-test/tests/cassettes/test_not_found_or_bounds[people-99999].yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)