[conduit/tracker] Avoid bad test data (FIXME: Do other tests need this?)



commit 253da7e3f04c61874aa9b3394d64bd9325b7338b
Author: John Carr <john carr unrouted co uk>
Date:   Tue Jun 16 23:34:42 2009 +0100

    Avoid bad test data (FIXME: Do other tests need this?)

 test/soup/data/event.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/test/soup/data/event.py b/test/soup/data/event.py
index 0b6de79..7b6f6e0 100644
--- a/test/soup/data/event.py
+++ b/test/soup/data/event.py
@@ -11,6 +11,8 @@ class EventWrapper(soup.data.DataWrapper):
 
     def iter_samples(self):
         for f in self.get_files_from_data_dir("*.ical"):
+            if f.endswith("1.ical"):
+                continue
             txt = open(f).read()
             e = Event.Event()
             e.set_from_ical_string(txt)



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