Example #1
0
 def test_assert_exactly_one(self):
     with assert_raises(AssertionError):
         assert_exactly_one(True, False, None, 1)
Example #2
0
 def test_assert_exactly_one(self):
     assert_exactly_one(None, False, None, None)
     assert_exactly_one(None, True, None, None)