Skip to content

Commit cec784a

Browse files
committed
check headers for FileSpec
1 parent d6d3bfc commit cec784a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/test_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ def test_filespec(self):
295295
spec = {'path':'junk.las', 'headers':{'header1':'header_1', 'header2':'header_2'}, 'query':{'query1':'query_1', 'query2':'query_2'}}
296296
assert pdal.Reader(spec).type == "readers.las"
297297
assert pdal.Reader(spec).options['filename']['path'] == "junk.las"
298+
assert pdal.Reader(spec).options['filename']['headers']['header2'] == "header_2"
298299
assert pdal.Writer("foo.las").type == "writers.las"
299300

300301
def test_streamable(self):

0 commit comments

Comments
 (0)