adi-kiran / career-flow

Application Tracking System for Group 64, Project 3
MIT License
0 stars 3 forks source link

Pytest failing #32

Closed adi-kiran closed 10 months ago

adi-kiran commented 10 months ago

Identify why the pytest github action is failing and fix it

adi-kiran commented 10 months ago

Identified the issue. Mongo was not being mocked in the tests and the test_app was expecting an actual mongo connection.

adi-kiran commented 10 months ago

Fixed in commit https://github.com/adi-kiran/career-flow/commit/f292081a63373d65fff95c3260711c2631891658

adi-kiran commented 10 months ago

Fix involved starting mongo for the action so it has an actual connection and can run the tests easily.

nirmaljoji commented 10 months ago

Working now