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
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
def test_is_nostation1(): """'no station' should be the default address for a base frame.""" iframe = IFrame() assert iframe.is_nostation() is True