<filename>test/test_code.py
from code.call import call_api

def test_call_api():
    status, content = call_api()
    assert status == 200

<filename>test/test_code.py
from code.call import call_api

def test_call_api():
    status, content = call_api()
    assert status == 200
