#NEWLINE# def test_BitmathType_good_two_args( self ) : #NEWLINE# #INDENT# 'Argparse: BitmathType - Works when given two correct parameters' #NEWLINE# args = '--two-args 1337B 0.001GiB' #NEWLINE# result = self . _parse_two_args ( args ) #NEWLINE# self . assertEqual ( len ( result . two_args ) , 2 ) #NEWLINE# self . assertIn ( bitmath . Byte ( 1337 ) , args . two_args ) #NEWLINE# self . assertIn ( bitmath . GiB ( 0.001 ) , result . two_args )