Skip to content

Conversation

D0rs4n
Copy link
Member

@D0rs4n D0rs4n commented Dec 30, 2021

The PR adds Infractions tests to the testing suite (Just like the title says), and it also introduces minor consistency enhancements in the testing suite.

@coveralls
Copy link

coveralls commented Dec 30, 2021

Pull Request Test Coverage Report for Build 1638766705

  • 60 of 60 (100.0%) changed or added relevant lines in 5 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+1.1%) to 84.108%

Files with Coverage Reduction New Missed Lines %
tests/routers/conftest.py 5 85.71%
Totals Coverage Status
Change from base Build 1618226492: 1.1%
Covered Lines: 344
Relevant Lines: 409

💛 - Coveralls

Copy link
Member

@ChrisLovering ChrisLovering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, tests all pass locally, nice job!

For the readme, could you add some info on how to run these tests under docker?

IE

  • create a .env file with DATABASE_URL=postgresql+asyncpg://codejam_management:codejam_management@localhost:7777/codejam_management in it
  • run docker-compose up
  • run pytest locally

@D0rs4n
Copy link
Member Author

D0rs4n commented Dec 30, 2021

Yeah, sure thing!

Copy link
Contributor

@ToxicKidz ToxicKidz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one typo to fix. Thanks for the change!

@ToxicKidz ToxicKidz merged commit 5f484e5 into main Dec 30, 2021
@ToxicKidz ToxicKidz deleted the pr/enhance-tests branch December 30, 2021 21:02
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.

4 participants