@httpretty.activate
    @patch('sprinter.lib.prompt')
    def test_standalone_sprinter(self, prompt):
        prompt.return_value = "yes"
        temp_directory = tempfile.mkdtemp()
        try:
            TEST_URI = "http://testme.com/test.cfg"
            httpretty.register_uri(httpretty.GET, TEST_URI,
                                   body=open("./examples/sprinter.cfg").read())
            # install
            env = environment.Environment(root=temp_directory, sprinter_namespace='test',
                                          global_config=self.global_config)
            env.target = TEST_URI
            env.install()
            # update
            env = environment.Environment(root=temp_directory, sprinter_namespace='test',
                                          global_config=self.global_config)
            env.target = TEST_URI
            env.source = TEST_URI
            env.update()
            # remove
            env = environment.Environment(root=temp_directory, sprinter_namespace='test',
                                          global_config=self.global_config)
            env.source = TEST_URI
            env.remove()
        finally:
            shutil.rmtree(temp_directory)
The node configuration is cancelled, so no options.
dataset/ETHPy150Open toumorokoshi/sprinter/sprinter/tests/test_lifecycle.py/TestLifecycle.test_standalone_sprinter--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubRequestTest.test_fromElementConfigureSetCancel