Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/unit testing #44

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Feature/unit testing #44

wants to merge 4 commits into from

Conversation

initd1
Copy link
Owner

@initd1 initd1 commented Apr 11, 2023

No description provided.

@initd1 initd1 added feature Addition of feature unit For issues related to unit testing. labels Apr 11, 2023
@H4ppy-04
Copy link
Collaborator

Note Currently fixing issue:


=========================== test session starts ============================
platform linux -- Python 3.10.10, pytest-7.3.0, pluggy-1.0.0
rootdir: /home/josh/projects/HackAlert
plugins: codeblocks-0.16.1
collected 7 items / 1 error

================================== ERRORS ==================================
_______ ERROR collecting tests/Config/test_check_config_validity.py ________
tests/Config/test_check_config_validity.py:6: in <module>
    from Config import check_config_validity
Config/check_config_validity.py:12: in <module>
    raise ValueError('Missing required section in config.ini')
E   ValueError: Missing required section in config.ini
========================= short test summary info ==========================
ERROR tests/Config/test_check_config_validity.py - ValueError: Missing required section in config.ini
!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!
============================= 1 error in 0.31s =============================josh@arch~/projects/HackAlert   feature/unit-testingls```

@initd1
Copy link
Owner Author

initd1 commented Apr 15, 2023

Note Currently fixing issue:

=========================== test session starts ============================
platform linux -- Python 3.10.10, pytest-7.3.0, pluggy-1.0.0
rootdir: /home/josh/projects/HackAlert
plugins: codeblocks-0.16.1
collected 7 items / 1 error

================================== ERRORS ==================================
_______ ERROR collecting tests/Config/test_check_config_validity.py ________
tests/Config/test_check_config_validity.py:6: in <module>
    from Config import check_config_validity
Config/check_config_validity.py:12: in <module>
    raise ValueError('Missing required section in config.ini')
E   ValueError: Missing required section in config.ini
========================= short test summary info ==========================
ERROR tests/Config/test_check_config_validity.py - ValueError: Missing required section in config.ini
!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!
============================= 1 error in 0.31s =============================josh@arch~/projects/HackAlert   feature/unit-testingls```

Hi @GH-Syn is this close to being done? I'm excited to see how it goes with the new CI/CD I've done in #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Addition of feature unit For issues related to unit testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Unit Tests for Config Module Implement testing project structure
2 participants