aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2-collectors-restconf/testcases/resources/DcaeLibrary.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dcaegen2-collectors-restconf/testcases/resources/DcaeLibrary.py')
-rw-r--r--tests/dcaegen2-collectors-restconf/testcases/resources/DcaeLibrary.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/dcaegen2-collectors-restconf/testcases/resources/DcaeLibrary.py b/tests/dcaegen2-collectors-restconf/testcases/resources/DcaeLibrary.py
new file mode 100644
index 00000000..d4848746
--- /dev/null
+++ b/tests/dcaegen2-collectors-restconf/testcases/resources/DcaeLibrary.py
@@ -0,0 +1,20 @@
+from robot.api import logger
+import time
+
+class DcaeLibrary(object):
+
+ def __init__(self):
+ pass
+
+ @staticmethod
+ def init_rcc():
+ logger.console("RestConf collector init and cleanup are done")
+ return "true"
+
+ @staticmethod
+ def teardown_rcc():
+ logger.console("RestConf collector teardown done")
+ return "true"
+
+if __name__ == '__main__':
+ time.sleep(100000)