aboutsummaryrefslogtreecommitdiffstats
path: root/tests/optf-cmso/cmso/attlibs/CurlLibrary.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/optf-cmso/cmso/attlibs/CurlLibrary.py')
-rw-r--r--tests/optf-cmso/cmso/attlibs/CurlLibrary.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/optf-cmso/cmso/attlibs/CurlLibrary.py b/tests/optf-cmso/cmso/attlibs/CurlLibrary.py
new file mode 100644
index 00000000..44c62293
--- /dev/null
+++ b/tests/optf-cmso/cmso/attlibs/CurlLibrary.py
@@ -0,0 +1,13 @@
+from curl import Curl
+
+class CurlLibrary:
+
+
+ def get_zip(self, url, filename):
+ fp = open(filename, "wb")
+ c = Curl()
+ c.get(url, )
+ c.set_option(c.WRITEDATA, fp)
+ c.perform()
+ c.close()
+ fp.close() \ No newline at end of file