(pad, path, kwargs, expect)
| 19 | ], |
| 20 | ) |
| 21 | def test_make_editor_session(pad, path, kwargs, expect): |
| 22 | sess = make_editor_session(pad, path, **kwargs) |
| 23 | if "exists" in expect: |
| 24 | assert sess.exists == expect["exists"] |
| 25 | if "datamodel" in expect: |
| 26 | assert sess.datamodel.id == expect["datamodel"] |
| 27 | |
| 28 | |
| 29 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected