]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/flad/test/test3.py
Import m_lib/flad
[m_lib.git] / m_lib / flad / test / test3.py
diff --git a/m_lib/flad/test/test3.py b/m_lib/flad/test/test3.py
new file mode 100755 (executable)
index 0000000..cf0cf3e
--- /dev/null
@@ -0,0 +1,15 @@
+#! /usr/bin/env python
+
+
+from m_lib.flad import fladm
+
+
+def test():
+   print "Test:",
+   datalist = fladm.load_file("test.txt", fladm.check_record, ["Type"], ["Name"])
+   datalist.store_to_file("test3.out")
+   print "Ok"
+
+
+if __name__ == "__main__":
+   test()