def test_model_with_wrapper_meta_serde(model): model._wrapper = None model._wrapper_meta = {'a': 'b'} model.wrapper_obj = model._wrapper_meta serde_and_compare(model, Model)
def test_project_serde(project_saved): serde_and_compare(project_saved)
def test_model_serde(model): serde_and_compare(model, Model) assert isinstance(model.wrapper, ModelWrapper)
def test_task__serde(task_saved): serde_and_compare(task_saved)
def test_project_serde(project_b: Project): serde_and_compare(project_b)
def test_model_serde(model): serde_and_compare(model, Model)
def test_task__serde(task_b: Task): serde_and_compare(task_b)