def test_dont_copy_local_script_to_artifacts(self):
        obj = SeleniumExecutor()
        obj.engine = EngineEmul()
        filename = "BlazeDemo.java"
        script_path = __dir__() + "/../data/" + filename
        obj.execution.merge({
            "scenario": {
                "script": script_path,
            }
        })
        obj.prepare()
        files = obj.resource_files()
        self.assertIn(script_path, files)
        artifacts_script = os.path.join(obj.engine.artifacts_dir, filename)
        self.assertFalse(os.path.exists(artifacts_script))
ensures that .java file is not copied into artifacts-dir
dataset/ETHPy150Open Blazemeter/taurus/tests/modules/test_SeleniumExecutor.py/TestSeleniumStuff.test_dont_copy_local_script_to_artifacts