예제 #1
0
def test_method_refresh_3():
    ad = AstroData()
    ad.open(TESTFILE)
    ad.refresh_types()
    assert KNOWNSTAT in ad.types
예제 #2
0
def test_method_open_2():
    ad = AstroData()
    ad.open(TESTFILE)
    assert set(ad.types) == set(NULLTYPES)
예제 #3
0
def test_method_open_1():
    ad = AstroData()
    ad.open(TESTFILE)
    assert len(ad) > 0
예제 #4
0
def test_method_refresh_3():
    ad = AstroData()
    ad.open(TESTFILE)
    ad.refresh_types()
    assert KNOWNSTAT in ad.types
예제 #5
0
def test_method_open_2():
    ad = AstroData()
    ad.open(TESTFILE)
    assert set(ad.types) == set(NULLTYPES)
예제 #6
0
def test_method_open_1():
    ad = AstroData()
    ad.open(TESTFILE)
    assert len(ad) > 0