コード例 #1
0
def test_header():
    """ Test PdxArt header """
    raise SkipTest
    art = PdxArt()
    header = art.header()
    expected_header = [ 'this', 'that' ]
    assert_equal(expected_header, header)
コード例 #2
0
ファイル: pdxart_tests.py プロジェクト: lauradiane/PyLadies
def test_header():
    """ Test PdxArt header """
    # raise SkipTest
    art = PdxArt()
    header = art.header()
    expected_header = [ 'record_id', 'artist' ]
    assert_equal(expected_header, header[:2])
コード例 #3
0
def test_locations():
    """ Test that latitude and longitude are valid """
    """ Mystery! Why does this test not show the docstring? """
    raise SkipTest
    art = PdxArt()
    for location in art.locations():
        yield check_location, location
コード例 #4
0
ファイル: pdxart_tests.py プロジェクト: lauradiane/PyLadies
def test_locations():
    """ Test that latitude and longitude are valid """
    # raise SkipTest
    art = PdxArt()
    for location in art.locations():
        yield check_location, location