def test_merge(): data = {"foo": "bar", "case_num": 1} data2 = {"baz": "bang", "case_num": 1} case_info = CaseInfo(data) case_info2 = CaseInfo(data2) case_info.merge(case_info2) assert case_info.case_num == 1 assert case_info.foo == "bar" assert case_info.baz == "bang"
def test_merge(): data = {'foo': 'bar', 'case_num': 1} data2 = {'baz': 'bang', 'case_num': 1} case_info = CaseInfo(data) case_info2 = CaseInfo(data2) case_info.merge(case_info2) assert case_info.case_num == 1 assert case_info.foo == 'bar' assert case_info.baz == 'bang'