summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-08 14:06:58 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-08 14:06:58 -0600
commit072787627a2339c3d5aca541086c2e4545bbad8d (patch)
tree81c927850f7c39f3b08193a86a3d6eb182d78c94 /test
parent2cae61ff561561e405f0cd0c150dbcd77ce25b82 (diff)
* Changed variable name in filter.py
* Added example in test1.py
Diffstat (limited to 'test')
-rw-r--r--test/test1.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test1.py b/test/test1.py
index 61b0651..13b5660 100644
--- a/test/test1.py
+++ b/test/test1.py
@@ -13,7 +13,8 @@ import unittest
class KnownValues(unittest.TestCase):
directory_list=("drwxrwxr-x 15 2010/09/11 11:28:50 community-staging",
- "drwxrwxr-x 30 2010/09/11 11:28:50 community-staging/os")
+ "drwxrwxr-x 30 2010/09/11 11:28:50 community-staging/os",
+ 'dr-xr-sr-x 4096 2010/09/11 11:37:10 .')
# (rsync_out, name, version, arch, release, location)
examples=(
("lrwxrwxrwx 53 2011/01/31 01:52:06 community-testing/os/i686/apvlv-0.1.0-2-i686.pkg.tar.xz -> ../../../pool/community/apvlv-0.1.0-2-i686.pkg.tar.xz", "apvlv","0.1.0","i686", "2", "community-testing/os/i686/apvlv-0.1.0-2-i686.pkg.tar.xz"),
@@ -60,6 +61,6 @@ class KnownValues(unittest.TestCase):
for i in self.examples:
k,v = self.generate_results(example_tuple=i,attr="location")
self.assertEqual(k, v)
-
+
if __name__ == "__main__":
unittest.main()