You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that table.data.data actually is an empty list, so none of these assert statements are run. To check that, just add a breakpoint() in front of assert: it is never called.
I've no idea why this is the case, but I suspect that the ProcessTablehere cannot make a table out of a list of dictionary full of mocks. As far as I can tell, there's no warning.
Or, more likely, this mock here is not working as it should because if we check the contents of table_data before calling ProcessTable, such table is empty, suggesting that the ProcessSessions is not... iterating.
Whatever the reason, something is not right in these tests.
The text was updated successfully, but these errors were encountered:
Most tests in the TestProcessTableView have checks like:
The problem is that
table.data.data
actually is an empty list, so none of theseassert
statements are run. To check that, just add abreakpoint()
in front ofassert
: it is never called.I've no idea why this is the case, but I suspect that the
ProcessTable
here cannot make a table out of a list of dictionary full of mocks. As far as I can tell, there's no warning.Or, more likely, this mock here is not working as it should because if we check the contents of
table_data
before callingProcessTable
, such table is empty, suggesting that the ProcessSessions is not... iterating.Whatever the reason, something is not right in these tests.
The text was updated successfully, but these errors were encountered: