def test_czml_get_document(): start_epoch = iss.epoch end_epoch = iss.epoch + molniya.period sample_points = 10 extractor = CZMLExtractor(start_epoch, end_epoch, sample_points) expected_doc = Document(extractor.packets) doc = extractor.get_document() assert repr(doc) == repr(expected_doc)
def test_czml_get_document(): start_epoch = iss.epoch end_epoch = iss.epoch + molniya.period sample_points = 10 pr_map_url = ( "https://upload.wikimedia.org/wikipedia/commons/c/c4/Earthmap1000x500compac.jpg" ) scene = False extractor = CZMLExtractor(start_epoch, end_epoch, sample_points) expected_doc = Document(extractor.packets) doc = extractor.get_document() assert repr(doc) == repr(expected_doc)