List Question
20 TechQA 2022-03-16T10:17:21.537000Using assertRaises unit test for date comparison
504 views
Asked by Legend_ 33
Why does assertRaises produce an ERROR in one case and not in the other?
86 views
Asked by Rebban
How to use assertRaisesRegex in this situation?
941 views
Asked by user5965026
assertRaises failing even when exception is raised
180 views
Asked by Cody
Django - Unit test an object has been deleted - how to use assertRaise / DoesNotExist exception
2.3k views
Asked by Christophe
Ruby - Testing a method that calls itself in Minitest
198 views
Asked by DesPhantomes
assertRaises only catch base Exception in unittest
382 views
Asked by PetitBrezhoneg
Django Python Testing: How do I assert that some exception happened and was handled
218 views
Asked by Artisan
Rails MiniTest, Why doesn't this process as a success instead of an error?
120 views
Asked by John Wooten
assertRaises() in a test cases that raises multiple exceptions
6.9k views
Asked by physicist
Custom exceptions in unittests
12.7k views
Asked by Ludo
Validation of JSON schema 'oneOf' fails unittest assertRaisesRegex
1.6k views
Asked by Dodomac
assertRaises: KeyError exception is not raised while doing unit test of a method
3.4k views
Asked by Kamlakar Patil
Use a custom failure message for `assertRaises()` in Python?
4k views
Asked by Stu Cox
unittest: wxpython's event method raises exception but assertRaises does not detect it
239 views
Asked by Humbalan
Python assertRaises on user-defined exceptions
5.3k views
Asked by Michael Gruenstaeudl
How to test that tornado read_message got nothing to read
603 views
Asked by Chemary
How to make assertRaises() print the passed *args, **kwargs in Python 2.7?
1.2k views
Asked by 3Gee
assertRaises in python unit-test not catching the exception
49.8k views
Asked by user3014653
Misbehaving assertRaises
393 views
Asked by Mark