adi-kiran / career-flow

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

Pytest failing #32

Closed adi-kiran closed 11 months ago

adi-kiran commented 11 months ago

Identify why the pytest github action is failing and fix it

adi-kiran commented 11 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 11 months ago

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

adi-kiran commented 11 months ago

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

nirmaljoji commented 11 months ago

Working now