def test_case_wrong_id(gemini_path): adapter = GeminiPlugin(db=gemini_path) case_id = 'hello' assert adapter.case(case_id) == None
def test_case_wrong_id(gemini_case_obj): adapter = GeminiPlugin() adapter.add_case(gemini_case_obj) case_id = 'hello' assert adapter.case(case_id) == None
def test_case_no_id(gemini_path): adapter = GeminiPlugin(db=gemini_path) case_id = '643594' assert adapter.case().case_id == case_id
def test_case_no_id(gemini_case_obj): adapter = GeminiPlugin() adapter.add_case(gemini_case_obj) case_id = '643594' assert adapter.case().case_id == case_id