Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

feat(tests): add pytest configuration file and test suite for app fun… #84

Merged
merged 7 commits into from
May 21, 2024

Conversation

mauvehed
Copy link
Owner

The changes introduce a pytest configuration file (pytest.ini) to set the pythonpath to the current directory. Additionally, new test files (init.py and test_app.py) have been added to the tests directory. The test suite includes tests for the app's index route, IP address format validation, raw and json endpoints, and IP address validation function. These tests ensure the functionality of the app is tested thoroughly using pytest.

…ctionality

The changes introduce a pytest configuration file (pytest.ini) to set the pythonpath to the current directory. Additionally, new test files (__init__.py and test_app.py) have been added to the tests directory. The test suite includes tests for the app's index route, IP address format validation, raw and json endpoints, and IP address validation function. These tests ensure the functionality of the app is tested thoroughly using pytest.
@mauvehed mauvehed linked an issue May 21, 2024 that may be closed by this pull request
@mauvehed mauvehed added maintenance Generic maintenance tasks. priority-low Nice addition, maybe... someday... python Pull requests that update Python code labels May 21, 2024
@mauvehed mauvehed merged commit bf92b63 into main May 21, 2024
8 checks passed
@mauvehed mauvehed deleted the feat/add-pytests-and-coverage branch May 21, 2024 19:50
@mauvehed mauvehed deployed to yourip-pr-84 May 21, 2024 19:50 — with GitHub Actions Active
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintenance Generic maintenance tasks. priority-low Nice addition, maybe... someday... python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

testing: Add pytest testing to project and CI
1 participant