We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf3885 commit 6c82060Copy full SHA for 6c82060
test/test_pio.py
@@ -45,3 +45,13 @@ def test_pipeline_construction(self):
45
self.assertIsInstance(pipeline, pio.PipelineSpec)
46
self.assertEqual(len(list(pipeline.stages)), 5)
47
self.assertEqual(json.dumps(pipeline.spec, indent=2), dummy_pipeline)
48
+
49
+ auto_reader = pio.readers.auto(filename="dummyinput.las")
50
+ auto_writer = pio.writers.auto(filename="dummyoutput.las")
51
52
+ self.assertIn("filename", auto_reader.spec)
53
+ self.assertNotIn("type", auto_reader.spec)
54
55
+ self.assertNotIn("type", auto_writer.spec)
56
+ self.assertEqual(auto_reader.prefix, "readers")
57
+ self.assertEqual(auto_writer.prefix, "writers")
0 commit comments