| Conditions | 2 |
| Total Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | import os, sys; sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) |
||
| 21 | def test_delete_section_item_by_index(): |
||
| 22 | las = lasio.read(egfn('sample.las')) |
||
| 23 | del las.params[1] |
||
| 24 | assert las.params.keys() == ['BHT', 'FD', 'MATR', 'MDEN', 'RMF', 'DFD'] |
||
| 25 | |||
| 29 | assert las.params.keys() == ['BHT', 'BS', 'FD', 'MATR', 'RMF', 'DFD'] |