()
| 783 | |
| 784 | |
| 785 | def test_lazy_init_empty_data_path(): |
| 786 | empty_db_folder = "/data/empty" |
| 787 | batch_size = 128 |
| 788 | |
| 789 | nonlazy_pipe = LazyPipeline(batch_size, empty_db_folder, lazy_type=False) |
| 790 | with assert_raises(RuntimeError): |
| 791 | nonlazy_pipe.build() |
| 792 | lazy_pipe = LazyPipeline(batch_size, empty_db_folder, lazy_type=True) |
| 793 | lazy_pipe.build() |
| 794 | |
| 795 | |
| 796 | def test_lazy_init(): |
nothing calls this directly
no test coverage detected