Ejemplo n.º 1
0
 def test_assert_exactly_one(self):
     with assert_raises(AssertionError):
         assert_exactly_one(True, False, None, 1)
Ejemplo n.º 2
0
 def test_assert_exactly_one(self):
     assert_exactly_one(None, False, None, None)
     assert_exactly_one(None, True, None, None)