def METHOD_NAME(caplog):
    _VersionManager._set_production_version("1.0", True)
    _VersionManager._set_production_version("1.1", True)
    _VersionManager._set_production_version("1.2", True)
    with patch("sys.argv", ["prog", "--production", "1.0"]):
        Core().run()
    assert 'There is no migration function from production version "1.0" to version "1.1".' in caplog.text
    assert 'There is no migration function from production version "1.1" to version "1.2".' in caplog.text
    caplog.clear()
    Config.unblock_update()
    Config.add_migration_function("1.2", "data_nodes1", mock_func)
    with patch("sys.argv", ["prog", "--production", "1.0"]):
        Core().run()
    assert 'There is no migration function from production version "1.0" to version "1.1".' in caplog.text