summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjvoisin2011-06-18 04:42:52 +0200
committerjvoisin2011-06-18 04:42:52 +0200
commitde5917e5f01374bb1a647f49ae85283241a2bea9 (patch)
treefbe5483af79965d1445bd4aaa528f0ad3e48a8aa /lib
parent0523e034870ed80cc3916ebb78552d661de4d3b0 (diff)
Creation of the arborescence
Diffstat (limited to '')
-rw-r--r--lib/__init__.py0
-rwxr-xr-xlib/mat.py (renamed from mat.py)9
-rwxr-xr-xtest/libtest.py (renamed from libtest.py)4
3 files changed, 8 insertions, 5 deletions
diff --git a/lib/__init__.py b/lib/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/lib/__init__.py
diff --git a/mat.py b/lib/mat.py
index 200fc04..48b83fb 100755
--- a/mat.py
+++ b/lib/mat.py
@@ -3,18 +3,19 @@
3''' 3'''
4 Metadata anonymisation toolkit library 4 Metadata anonymisation toolkit library
5''' 5'''
6import sys
7import os
6 8
7import hachoir_core.error 9import hachoir_core.error
8import hachoir_core.field 10import hachoir_core.field
9import hachoir_core.cmd_line 11import hachoir_core.cmd_line
10import hachoir_parser 12import hachoir_parser
11import hachoir_metadata 13import hachoir_metadata
12import hachoir_editor
13
14import sys
15import os
16import hachoir_parser.image 14import hachoir_parser.image
17 15
16sys.path.append('..')
17import hachoir_editor
18
18__version__ = "0.1" 19__version__ = "0.1"
19__author__ = "jvoisin" 20__author__ = "jvoisin"
20 21
diff --git a/libtest.py b/test/libtest.py
index 58cc618..2bd1fa7 100755
--- a/libtest.py
+++ b/test/libtest.py
@@ -4,9 +4,11 @@
4 Unit test for the library 4 Unit test for the library
5''' 5'''
6 6
7import mat
8import unittest 7import unittest
9import test 8import test
9import sys
10sys.path.append('..')
11from lib import mat
10 12
11class Test_Remove_lib(test.MATTest): 13class Test_Remove_lib(test.MATTest):
12 def test_remove(self): 14 def test_remove(self):