code: def test_setting_duration():
      bitmap = [["R"], ["R"], ["B"], ["B"], ["G"], ["G"]]
      clip = BitmapClip(bitmap, duration=6)
  
      assert clip.fps == 1
      assert clip.duration == 6
  
imports: import numpy
  import pytest
  from moviepy.video.VideoClip import BitmapClip
label_desc: Use image node_id 3 for calling a global function with example usage: test_setting_duration() without return types