mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-17 08:00:13 +01:00
test: convert tests to pytest assertions; add server-availability skips; clean up warnings and minor syntax/indent issues
This commit is contained in:
parent
f07daaeb4a
commit
947adacfe2
21 changed files with 374 additions and 311 deletions
|
|
@ -143,10 +143,9 @@ def test_direct_exclude_filtering():
|
|||
|
||||
if failed_exclusions:
|
||||
print(f"\n❌ FAILED: {len(failed_exclusions)} cards were not excluded: {failed_exclusions}")
|
||||
return False
|
||||
assert False
|
||||
else:
|
||||
print(f"\n✅ SUCCESS: All {len(exclude_list)} cards were properly excluded")
|
||||
return True
|
||||
|
||||
if __name__ == "__main__":
|
||||
success = test_direct_exclude_filtering()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue