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