unrealities / MTGA_Draft_17Lands

Magic: The Gathering Arena draft tool that utilizes 17Lands data
MIT License
26 stars 1 forks source link

Additional tests and fixes #6

Closed FiYir closed 3 months ago

FiYir commented 3 months ago

I've created a test case for overlay.py that will fail if any uncaught exceptions or logging errors occur during app startup. This should help identify errors that might not appear for you on macOS. Additionally, I've replaced some module imports with function-level imports to simplify mocking. Certain card_logic functions have been renamed to avoid naming conflicts with local variables.

The taken cards window had an issue due to one of your recent changes. The code attempted to modify the 12th column of the taken cards table without adding the column to the table, resulting in an exception. To address this, I've added the extra column to the table.

unrealities commented 3 months ago

Thank you for the additional test!