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

Added tests in hydra python core. #93

Merged
merged 7 commits into from Aug 27, 2021
Merged

Conversation

farazkhanfk7
Copy link
Member

Fixes #

Checklist

  • My branch is up-to-date with upstream/develop branch.
  • Everything works and tested for Python 3.5.2 and above.

Description

For testing doc_writer we were using unittest’s mock to create mock classes and objects. In that case, we'll have to create mock objects again and again for every test. We can use Pytest’s fixtures to test different components and improve the readability and increase test coverage.

Change logs

  • Created conftest.py
  • test_doc_writer
    ├── test_context.py   
    ├── test_hydraclass.py   
    ├── test_hydra_collection.py 
    ├── test_hydra_entrypoint    
  • Changes in travis.yml and requirements.txt file.

@Mec-iS Mec-iS merged commit 630a8b3 into HTTP-APIs:develop Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants