code: def test_move_invalid_args(dataframe):
      """Checks appropriate errors are raised with invalid args."""
      with pytest.raises(ValueError):
          # invalid position
          _ = dataframe.move("a", "cities", position="oops", axis=1)
      with pytest.raises(ValueError):
          # invalid axis
          _ = dataframe.move("a", "cities", axis="oops")
      with pytest.raises(KeyError):
          # invalid source row
          _ = dataframe.move(10_000, 0, axis=0)
      with pytest.raises(KeyError):
          # invalid target row
          _ = dataframe.move(0, 10_000, axis=0)
      with pytest.raises(KeyError):
          # invalid source column
          _ = dataframe.move("__oops__", "cities", axis=1)
      with pytest.raises(KeyError):
          # invalid target column
          _ = dataframe.move("a", "__oops__", axis=1)
  
file_path: pyjanitor/tests/functions/test_move.py
imports: import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from pandas.testing import assert_index_equal, assert_series_equal
  from janitor.testing_utils.strategies import df_strategy
label_desc: Use image node_id 7 for calling a global function with example usage: test_move_invalid_args(dataframe) without return types