class_docstr: We have a few tests to directly test the Script class.
  
  However, most of the behavioral tests are covered by `TestScripting`.
class_docstr_tok: ["We","have","a","few","tests","to","directly","test","the","Script","class",".","However",",","most","of","the","behavioral","tests","are","covered","by","`","TestScripting","`","."]
code: def test_script_text(self, r, script_str, script_bytes):
      assert Script(r, script_str).script == "fake-script"
      assert (
          Script(r, script_bytes).script
          == b"\xcf\x84o\xcf\x81\xce\xbdo\xcf\x82"
      )
  
imports: import pytest
  import redis
  from redis import exceptions
  from redis.commands.core import Script
  from tests.conftest import skip_if_redis_enterprise, skip_if_server_version_lt
label_desc: Use image node_id 3 for calling the TestScript obj's underlying member method code with example usage: obj.test_script_text(r, script_str, script_bytes) without return types