code: def test_change_stroke_options(self):
      layer = Directions(self.start, self.end)
      layer.stroke_color = (10, 20, 30)
      assert layer.get_state()["stroke_color"] == "rgb(10,20,30)"
      layer.stroke_opacity = 0.2
      assert layer.get_state()["stroke_opacity"] == 0.2
      layer.stroke_weight = 20
      assert layer.get_state()["stroke_weight"] == 20
  
imports: import unittest
  import pytest
  import traitlets
  from ..directions import Directions, DEFAULT_STROKE_COLOR
label_desc: Use image node_id 16 for calling the DirectionsLayer obj's underlying member method code with example usage: obj.test_change_stroke_options() without return types