diff options
| author | jvoisin | 2011-06-15 17:18:40 +0200 |
|---|---|---|
| committer | jvoisin | 2011-06-15 17:18:40 +0200 |
| commit | bf26b335e2f25a9f6cb96b7de5144557d98a7dc8 (patch) | |
| tree | aa996353a1ddec2b1edf7df05e597117fa82a6d7 /libtest.py | |
| parent | 1583a58289318e612e099d47bdb53880ee877a21 (diff) | |
Fix a stupid typo, and add some comments
Diffstat (limited to '')
| -rwxr-xr-x[-rw-r--r--] | libtest.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libtest.py b/libtest.py index 191a981..c6d5e12 100644..100755 --- a/libtest.py +++ b/libtest.py | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | #!/usr/bin/python | ||
| 2 | |||
| 3 | ''' | ||
| 4 | Unit test for the library | ||
| 5 | ''' | ||
| 6 | |||
| 1 | import mat | 7 | import mat |
| 2 | import unittest | 8 | import unittest |
| 3 | import test | 9 | import test |
| @@ -34,7 +40,7 @@ class Test_List_lib(test.MATTest): | |||
| 34 | 40 | ||
| 35 | 41 | ||
| 36 | class Test_isClean_lib(test.MATTest): | 42 | class Test_isClean_lib(test.MATTest): |
| 37 | def test_clean(self): | 43 | def test_dirty(self): |
| 38 | '''test is_clean on clean files''' | 44 | '''test is_clean on clean files''' |
| 39 | for clean, dirty in self.file_list: | 45 | for clean, dirty in self.file_list: |
| 40 | current_file = mat.create_class_file(dirty) | 46 | current_file = mat.create_class_file(dirty) |
