def test_assert_exactly_one(self): with assert_raises(AssertionError): assert_exactly_one(True, False, None, 1)
def test_assert_exactly_one(self): assert_exactly_one(None, False, None, None) assert_exactly_one(None, True, None, None)