#NEWLINE# def test_one_single_capability_own_one_bit( self ) : #NEWLINE# #INDENT# cap_list = [ caps . BitMasks . READ_ACCESS , caps . BitMasks . WRITE_ACCESS , caps . BitMasks . DRIVER_REUSABLE ] #NEWLINE# for cap in self : #NEWLINE# #INDENT# self . assertEqual ( 1 , bin ( cap ) . count ( '1' ) )