From 2014c470cd80c43ad32d28b3800bd1b2f459ae79 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Wed, 21 Jun 2023 13:38:14 +0200 Subject: [PATCH] test/infamy: reset between test cases using 'copy startup running' This should copy factory running, instead of using the factory-reset RPC but for now we use startup since 'factory' is not yet supported as a copy-from target. Signed-off-by: Joachim Wiberg --- test/infamy/netconf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/infamy/netconf.py b/test/infamy/netconf.py index 90d019ac..3efa9cc1 100644 --- a/test/infamy/netconf.py +++ b/test/infamy/netconf.py @@ -40,6 +40,7 @@ class Device(object): self._ncc_init(location) self._ly_init(yangdir) # self.update_schema() + self.ncc.copy_config('running', 'startup') def _ncc_init(self, location): ai = socket.getaddrinfo(location.host, location.port,