Cell-Checker / cell-checker

MIT License
0 stars 0 forks source link

Fix Mock #11

Open mlaguren opened 3 months ago

mlaguren commented 3 months ago

Describe the bug @coderabbit identified an issue with the mock postgres test:

However, making these changes causes a test failure elsewhere and it is not clear why. To Reproduce Steps to reproduce the behavior:

  1. Make the recommended changes
  2. Execute pytest

Expected behavior All tests should pass, instead getting the following error:

E AssertionError: expected call not found. E Expected: PostgresConnector('localhost', 'password', 'user', 5432, 'database', 'SELECT FROM table') E Actual: PostgresConnector('localhost', 'password', 'localhost', 5432, 'database', 'SELECT FROM table')