code: def test_minor_major_increment_version(
      string, bump_major, major, valid, result
  ):
      if valid:
          assert (
              MajorMinorAssetsVersioningSystem.increment_version(
                  string,
                  params={"bump_major": bump_major, "major": major},
              )
              == result
          )
      else:
          with pytest.raises(MajorVersionDoesNotExistError):
              MajorMinorAssetsVersioningSystem.increment_version(
                  string,
                  params={"bump_major": bump_major, "major": major},
              )
  
imports: import os
  import pytest
  import tests
  from modelkit.assets import errors
  from modelkit.assets.settings import AssetSpec
  from modelkit.assets.versioning.major_minor import InvalidMajorVersionError, MajorMinorAssetsVersioningSystem, MajorVersionDoesNotExistError
label_desc: Use image node_id 3 for calling a global function with example usage: test_minor_major_increment_version(string, bump_major, major, valid, result) without return types