Skip to content

Commit 77358e6

Browse files
committed
Test.
1 parent 72c5a5d commit 77358e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pdal/test/PythonFilterTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ TEST_F(PythonFilterTest, metadata)
225225
"def myfunc(ins,outs):\n"
226226
" global metadata\n"
227227
" #print('before', globals(), file=sys.stderr,)\n"
228-
" out_metadata = {'name': 'root', 'value': 'a string', 'type': 'string', 'description': 'a description', 'children': [{'name': 'filters.python', 'value': 52, 'type': 'integer', 'description': 'a filter description', 'children': []}, {'name': 'readers.faux', 'value': 'another string', 'type': 'string', 'description': 'a reader description', 'children': []}]}\n"
228+
" out_metadata = {'name': 'root', 'value': 'a string', 'type': 'string', 'description': 'a description', 'children': [{'name': 'somechildren', 'value': 52, 'type': 'integer', 'description': 'a filter description', 'children': []}, {'name': 'otherchildren', 'value': 'another string', 'type': 'string', 'description': 'a reader description', 'children': []}]}\n"
229229
" # print ('schema', schema, file=sys.stderr,)\n"
230230
" return True\n"
231231
);
@@ -248,7 +248,7 @@ TEST_F(PythonFilterTest, metadata)
248248

249249
PointLayoutPtr layout(table.layout());
250250
MetadataNode m = table.metadata();
251-
m = m.findChild("filters.python");
251+
m = m.findChild("somechildren");
252252
MetadataNodeList l = m.children();
253253
EXPECT_EQ(l.size(), 3u);
254254
EXPECT_EQ(l[0].name(), "filters.python");

0 commit comments

Comments
 (0)