Ejemplo n.º 1
0
def test10_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '90.00' not in output    # data result not in any of the columns
Ejemplo n.º 2
0
def test8_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '11/1/14' not in output    # date does not exist
Ejemplo n.º 3
0
def test9_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '89.08' in output    # beginning data result in one of the columns
Ejemplo n.º 4
0
def test6_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '10/1/14' in output   # beginning date
Ejemplo n.º 5
0
def test7_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '10/3/94' in output    # ending date
Ejemplo n.º 6
0
def test10_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '90.00' not in output  # data result not in any of the columns
Ejemplo n.º 7
0
def test9_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '89.08' in output  # beginning data result in one of the columns
Ejemplo n.º 8
0
def test8_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '11/1/14' not in output  # date does not exist
Ejemplo n.º 9
0
def test7_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '10/3/94' in output  # ending date
Ejemplo n.º 10
0
def test6_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '10/1/14' in output  # beginning date