[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Exclude 'orig' in installation test



commit 96ebc6d59f94a0488dd6fbccf573122c7416acb8
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Wed Nov 23 10:26:16 2016 -0800

    Exclude 'orig' in installation test
    
    Oops, prior commit dropped one of the suffixes we filtered.
---
 test/unit/installation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/installation.py b/test/unit/installation.py
index fbc9315..719abfe 100644
--- a/test/unit/installation.py
+++ b/test/unit/installation.py
@@ -77,7 +77,7 @@ class TestInstallation(unittest.TestCase):
         path = os.path.join(directory, filename)
         file_type = path.split('.')[-1]
 
-        if not file_type in ['.py', '.pyc', '.swp', '.swo']:
+        if not file_type in ['.py', '.pyc', '.swp', '.swo', 'orig']:
           continue
         elif path not in data_files:
           self.fail("setup.py doesn't install %s" % path)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits