comparison MoinMoin/_tests/test_wikiutil.py @ 2551:f3b684afca81

make sourcecode checker happy on wikiutil tests
author Johannes Berg <johannes AT sipsolutions DOT net>
date Mon, 23 Jul 2007 20:37:53 +0200
parents 2523642e9516
children cc5a81bda460
comparison
equal deleted inserted replaced
2550:2523642e9516 2551:f3b684afca81
491 assert i == 1 or i is None 491 assert i == 1 or i is None
492 492
493 493
494 class TestExtensionInvoking: 494 class TestExtensionInvoking:
495 def _test_invoke_bool(self, b=bool): 495 def _test_invoke_bool(self, b=bool):
496 assert b == False 496 assert b is False
497 497
498 def _test_invoke_bool_def(self, v=bool, b=False): 498 def _test_invoke_bool_def(self, v=bool, b=False):
499 assert b == v 499 assert b == v
500 assert isinstance(b, bool) 500 assert isinstance(b, bool)
501 assert isinstance(v, bool) 501 assert isinstance(v, bool)