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
def test8_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '11/1/14' not in output    # date does not exist
def test9_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '89.08' in output    # beginning data result in one of the columns
def test6_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '10/1/14' in output   # beginning date
def test7_fileoutput( ):
    out = StringIO( )
    opencloseresults( out = out )
    output = out.getvalue( )
    assert '10/3/94' in output    # ending date
Пример #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
Пример #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
Пример #8
0
def test8_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '11/1/14' not in output  # date does not exist
Пример #9
0
def test7_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '10/3/94' in output  # ending date
Пример #10
0
def test6_fileoutput():
    out = StringIO()
    opencloseresults(out=out)
    output = out.getvalue()
    assert '10/1/14' in output  # beginning date