diff options
| author | jvoisin | 2011-06-18 04:42:52 +0200 |
|---|---|---|
| committer | jvoisin | 2011-06-18 04:42:52 +0200 |
| commit | de5917e5f01374bb1a647f49ae85283241a2bea9 (patch) | |
| tree | fbe5483af79965d1445bd4aaa528f0ad3e48a8aa /lib | |
| parent | 0523e034870ed80cc3916ebb78552d661de4d3b0 (diff) | |
Creation of the arborescence
Diffstat (limited to '')
| -rw-r--r-- | lib/__init__.py | 0 | ||||
| -rwxr-xr-x | lib/mat.py (renamed from mat.py) | 9 | ||||
| -rwxr-xr-x | test/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 | |||
| @@ -3,18 +3,19 @@ | |||
| 3 | ''' | 3 | ''' |
| 4 | Metadata anonymisation toolkit library | 4 | Metadata anonymisation toolkit library |
| 5 | ''' | 5 | ''' |
| 6 | import sys | ||
| 7 | import os | ||
| 6 | 8 | ||
| 7 | import hachoir_core.error | 9 | import hachoir_core.error |
| 8 | import hachoir_core.field | 10 | import hachoir_core.field |
| 9 | import hachoir_core.cmd_line | 11 | import hachoir_core.cmd_line |
| 10 | import hachoir_parser | 12 | import hachoir_parser |
| 11 | import hachoir_metadata | 13 | import hachoir_metadata |
| 12 | import hachoir_editor | ||
| 13 | |||
| 14 | import sys | ||
| 15 | import os | ||
| 16 | import hachoir_parser.image | 14 | import hachoir_parser.image |
| 17 | 15 | ||
| 16 | sys.path.append('..') | ||
| 17 | import 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 | ||
| 7 | import mat | ||
| 8 | import unittest | 7 | import unittest |
| 9 | import test | 8 | import test |
| 9 | import sys | ||
| 10 | sys.path.append('..') | ||
| 11 | from lib import mat | ||
| 10 | 12 | ||
| 11 | class Test_Remove_lib(test.MATTest): | 13 | class Test_Remove_lib(test.MATTest): |
| 12 | def test_remove(self): | 14 | def test_remove(self): |
