def METHOD_NAME(self):
    class TestScriptC(DefaultScript):
        def at_script_creation(self):
            self.key = "test_script"
            self.interval = 10
            self.repeats = 2
            self.persistent = False
    script = create.create_script(TestScriptC, key="test_script")
    assert script is not None
    assert script.interval == 10
    assert script.repeats == 2
    assert script.key == "test_script"
    script.stop()