def test_active(timer):
 assert (not timer.isActive())
 timer.start()
 assert timer.isActive()
 timer.stop()
 assert (not timer.isActive())

def test_active ( timer ) : assert ( not timer . isActive ( ) ) timer . start ( ) assert timer . isActive ( ) timer . stop ( ) assert ( not timer . isActive ( ) )
test isactive .