code: def test_illegal_name(self):
      with pytest.raises(ValueError):
          get_interpolator().interpolate("${{ secrets.pass-word }}")
      with pytest.raises(ValueError):
          get_interpolator().interpolate("${{ .password }}")
      with pytest.raises(ValueError):
          get_interpolator().interpolate("${{ password. }}")
      with pytest.raises(ValueError):
          get_interpolator().interpolate("${{ secrets.password.hash }}")
      with pytest.raises(ValueError):
          get_interpolator().interpolate("${{ secrets.007 }}")
  
file_path: dstack/src/tests/_internal/utils/test_interpolator.py
imports: import pytest
  from dstack._internal.utils.interpolator import VariablesInterpolator
label_desc: Use image node_id 9 for calling the TestVariablesInterpolator obj's underlying member method code with example usage: obj.test_illegal_name() without return types