def get_mock_one_more_build(url, *args, **kwargs):
    mock_resp = MagicMock()
    json = {}

    if url in 'sinceBuild:id:1':
        json = {"count":1,"href":"/guestAuth/app/rest/builds/?locator=buildType:TestProject_TestBuild,sinceBuild:id:1,status:SUCCESS","build":[{"id":2,"buildTypeId":"TestProject_TestBuild","number":"2","status":"SUCCESS","state":"finished","href":"/guestAuth/app/rest/builds/id:2","webUrl":"http://localhost:8111/viewLog.html?buildId=2&buildTypeId=TestProject_TestBuild"}]}
    elif 'sinceBuild:id:2' in url:
        json = {"count":0,"href":"/guestAuth/app/rest/builds/?locator=buildType:TestProject_TestBuild,sinceBuild:id:2,status:SUCCESS"}

    mock_resp.json.return_value = json
    return mock_resp
dataset/ETHPy150Open serverdensity/sd-agent/tests/checks/mock/test_teamcity.py/get_mock_one_more_build/swapped operands of `in`