예제 #1
0
def test_is_nostation2(chunk1):
    """parsing a all-station address should return False on is_nostation()"""
    iframe = IFrame()
    iframe.parse_address(chunk1)
    assert iframe.is_nostation() is False
예제 #2
0
def test_is_nostation3(chunk2):
    """parsing a no-station address should return True in is_nostation()"""
    iframe = IFrame()
    iframe.parse_address(chunk2)
    assert iframe.is_nostation() is True
예제 #3
0
def test_is_nostation1():
    """'no station' should be the default address for a base frame."""
    iframe = IFrame()
    assert iframe.is_nostation() is True