File size: 373 Bytes
a489e19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import sys

sys.path.append("..")
from utils import convert, read_file


def test_kml_coversion():
    with open("boundary.kml", "rb") as f:
        kml = read_file(f)
    converted_data = convert(kml, "boundary_converted.kml", "kml")
    with open("boundary_converted.kml", "wb") as f:
        f.write(converted_data)


def test_kmz_conversion():
    pass