code: def test_generate_df_with_reg_for_tests():
      """Basic test of generate_df_with_reg_for_tests"""
      data = generate_df_with_reg_for_tests(
          freq="D",
          periods=20,
          train_frac=0.75,
          remove_extra_cols=True,
          mask_test_actuals=True,
      )
      # test remove_extra_cols
      assert data["df"].shape == (20, 7)
      # test mask_test_actuals
      assert not data["train_df"][TIME_COL].isna().any()
      assert not data["train_df"][VALUE_COL].isna().any()
      assert not data["test_df"][TIME_COL].isna().any()
      assert data["test_df"][VALUE_COL].isna().all()
  
file_path: greykite/greykite/tests/common/test_testing_utils.py
imports: import datetime
  from greykite.common.constants import TIME_COL
  from greykite.common.constants import VALUE_COL
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.testing_utils import generate_df_with_reg_for_tests
  from greykite.common.testing_utils import generate_test_changepoint_df
label_desc: Use image node_id 1 for calling a global function with example usage: test_generate_df_with_reg_for_tests() without return types