示例#1
0
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)
示例#2
0
def test_project_serde(project_saved):
    serde_and_compare(project_saved)
示例#3
0
def test_model_serde(model):
    serde_and_compare(model, Model)
    assert isinstance(model.wrapper, ModelWrapper)
示例#4
0
def test_task__serde(task_saved):
    serde_and_compare(task_saved)
示例#5
0
def test_project_serde(project_b: Project):
    serde_and_compare(project_b)
示例#6
0
def test_model_serde(model):
    serde_and_compare(model, Model)
示例#7
0
def test_task__serde(task_b: Task):
    serde_and_compare(task_b)