Refactor Model class
[netvirt.git] / resources / tools / odltools / odltools / mdsal / tests / __init__.py
index fce6814eca584e18f3120c300bc0d715eb69e950..fe09bb61b67e29e8e7caf0ab2fcb4e523a77079d 100644 (file)
@@ -1,8 +1,17 @@
+import os
+
+
 class Args:
-    def __init__(self, ip="localhost", port=8181, user="admin", pw="admin", path="/tmp", pretty_print=False):
+    def __init__(self, https="http", ip="localhost", port=8181, user="admin", pw="admin", path="/tmp",
+                 pretty_print=False):
+        self.https = https
         self.ip = ip
         self.port = port
         self.user = user
         self.pw = pw
         self.path = path
-        self.pretty_print=pretty_print
+        self.pretty_print = pretty_print
+
+
+def get_resources_path():
+    return os.path.join(os.path.dirname(__file__), '../../tests/resources')