#NEWLINE# @ params ( ( '1' , [ [ ( 1 * COMMIT_MULTIPLIER ) ] ] ) , ( '01' , [ [ 0 , ( 1 * COMMIT_MULTIPLIER ) ] ] ) , ( '0\n1' , [ [ 0 ] , [ ( 1 * COMMIT_MULTIPLIER ) ] ] ) , ( '1\n0\n' , [ [ ( 1 * COMMIT_MULTIPLIER ) ] , [ 0 ] ] ) , ( '10\n01' , [ [ ( 1 * COMMIT_MULTIPLIER ) , 0 ] , [ 0 , ( 1 * COMMIT_MULTIPLIER ) ] ] ) , ( '\n1' , [ [ ( 1 * COMMIT_MULTIPLIER ) ] ] ) , ( '' , [ ] ) , ( '\n' , [ ] ) , ( '5' , [ [ ( 5 * COMMIT_MULTIPLIER ) ] ] ) , ( '123' , [ [ ( 1 * COMMIT_MULTIPLIER ) , ( 2 * COMMIT_MULTIPLIER ) , ( 3 * COMMIT_MULTIPLIER ) ] ] ) , ( '1\n2\n3' , [ [ ( 1 * COMMIT_MULTIPLIER ) ] , [ ( 2 * COMMIT_MULTIPLIER ) ] , [ ( 3 * COMMIT_MULTIPLIER ) ] ] ) , ( '12\n3' , [ [ ( 1 * COMMIT_MULTIPLIER ) , ( 2 * COMMIT_MULTIPLIER ) ] , [ ( 3 * COMMIT_MULTIPLIER ) ] ] ) ) #NEWLINE# def test( self , content , expected_result ) : #NEWLINE# #INDENT# with mock . patch ( 'github_board.open' , mock . mock_open ( read_data = content ) , create = True ) : #NEWLINE# #INDENT# self . assertListEqual ( expected_result , load_template ( 'fake_path' ) )